Add sorting_order to get_orders