Sort sorts the splits according to the given Less function.
(lessFunc func(spl *Splits, i, j int) bool)
| 155 | |
| 156 | // Sort sorts the splits according to the given Less function. |
| 157 | func (spl *Splits) Sort(lessFunc func(spl *Splits, i, j int) bool) { |
| 158 | spl.lessFunc = lessFunc |
| 159 | sort.Sort(spl) |
| 160 | } |
| 161 | |
| 162 | // SortLevels sorts the splits according to the current index level ordering of values |
| 163 | // i.e., first index level is outer sort dimension, then within that is the next, etc |
no outgoing calls
no test coverage detected