Interval Sorting