order_by check fixed