added -s sorting option to bpcviz-gatherdata