which the sorts should be applied?

Hi, I’m attempting to restore a vaadin-grid from a previously saved state. Part of that involves restoring the sort order including when the grid has been sorted by multiple columns.

How do I specify the order in which the sorts should be applied? e.g. to sort by column A, then by B, then by C.

On the vaadin-grid-sorter I can only apparently specify a direction=“asc|desc” on that, I can’t seem to define which order the set of sorts are supposed to be applied.