Fixed sort

fixed sort doe