-- in.cue --
import "list"

a: list.Sort([2, 3, 1, 4], {x: _, y: _, less: x < y}) @test(eq, [1, 2, 3, 4])
-- out/eval/stats --
Leaks:  0
Freed:  15
Reused: 4
Allocs: 11
Retain: 0

Unifications: 15
Conjuncts:    20
Disjuncts:    0

NumCloseIDs: 5
