Add helper function for vector printing to shield debug code from execution
if debug level is not sufficient.
Sort threshold output map.
Also sort the regular map output by ROC, col, row