Order by fix

Removed "= null" in function call.