fn order(comptime T: type, lhs: []const T, rhs: []const T) math.Order

Compares two slices of numbers lexicographically. O(n).

Parameters

T: type,
lhs: []const T,
rhs: []const T,