Some improvements

add pv to show progress
fix sort arguments and also make it parallel
added some comments and descriptions

TODO: report with more detailed information