Adding GeneralResultLogging and SortBBs.py