add sort cmd
rm tmp files