viralbpandya (5/12/2016)
I am not getting desired result for above.I want to sort the data first by "Planned Delivery Data" and than by "Order No".
Use
ORDER BY WES.CUSTOMER_ORDER_LINE.PLANNED_DELIVERY_DATE [ASC],
WES.CUSTOMER_ORDER_LINE.ORDER_NO [ASC]
If you convert dates to strings, it will follow string rules to order (2016-11 would come before 2016-2). The same will happen when converting numbers to strings.