Sort is something that is highly optimized in most languages and users can expect it to be fast. We can piggyback on the Go implementation. This change results in 100x speedup on bench.06.jsonnet.