sort.theta function

Sort stopping boundary by standard ordering