it is similar but not compatible with `SupervisorStrateg.sort()`