MCPcopy Create free account
hub / github.com/cogentcore/core / SortIndexes

Method SortIndexes

tensor/table/indexview.go:120–122  ·  view source on GitHub ↗

SortIndexes sorts the indexes into our Table directly in numerical order, producing the native ordering, while preserving any filtering that might have occurred.

()

Source from the content-addressed store, hash-verified

118// numerical order, producing the native ordering, while preserving
119// any filtering that might have occurred.
120func (ix *IndexView) SortIndexes() {
121 sort.Ints(ix.Indexes)
122}
123
124const (
125 // Ascending specifies an ascending sort direction for table Sort routines

Callers 1

SortSliceActionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected