new order by sorting validation