There was an error running the query [Column 'sort' in order clause is ambiguous]