Add order to search query