in reply to Sorting with multiple keys

All, Thanks for solutions..