what about defining:

struct SortedColumn{
   i32: index
  boolean: ascending
}

4: optional list<SortedColumn> sort_column