Remove unnecessary code

`$field` is passed by reference, modifying the variable also modifies
the actual order clause