Toggle#
func (state TableSortState) Toggle(column int) TableSortStatetype TableSortState struct {
Column int
Direction TableSortDirection
}TableSortState is caller-owned single-column ordering. Its zero value has no active column; Toggle selects ascending first, then alternates both ways.
Toggle#func (state TableSortState) Toggle(column int) TableSortState