compute_breakpoints function

Compute Breakpoints Based on Sorting Variable