OrderBy for Intervals