add query builder method to add a sort only if the query isn't already sorted on the given field