Modularized print2elog
Updated to sort on BSA data.