sorting issue by sahan