Added sorted and prediction stats to BP