MCPcopy
hub / github.com/moncho/dry / Sort

Method Sort

appui/table_model.go:172–174  ·  view source on GitHub ↗

Sort re-sorts the current rows using the active sort field.

()

Source from the content-addressed store, hash-verified

170
171// Sort re-sorts the current rows using the active sort field.
172func (m *TableModel) Sort() {
173 m.sortRows()
174}
175
176// Update handles keyboard navigation via the inner bubbles table.
177func (m TableModel) Update(msg tea.Msg) (TableModel, tea.Cmd) {

Callers 15

TestTableModel_SortFunction · 0.95
refreshTableMethod · 0.45
nextSortMethod · 0.45
workspaceMapKeysFunction · 0.45
SortContainersFunction · 0.45

Calls 1

sortRowsMethod · 0.95