Arranging and grouping ticket types