Faster sort due to inlineing
sort tests
consolidate addition and subtraction in sorting code
fix to BestBinSplit