How about `Sorting = Struct.new(:key, :sort_by, :label)` ?