Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/expr-lang/expr
/ Less
Method
Less
vm/runtime/sort.go:18–24 ·
view source on GitHub ↗
(i, j int)
Source
from the content-addressed store, hash-verified
16
}
17
18
func
(s *SortBy) Less(i, j int) bool {
19
a, b := s.Values[i], s.Values[j]
20
if
s.Desc {
21
return
Less(b, a)
22
}
23
return
Less(a, b)
24
}
25
26
type
Sort
struct
{
27
Desc bool
Callers
nothing calls this directly
Calls
1
Less
Function · 0.70
Tested by
no test coverage detected