Sorted inline groups