Correct bug in sort routine

Quantiles for SSB were wrong
Executable for OM