Fixed threshold sorting.