refactor Query.order to fit the style of Query.select