import { default } from "https://deno.land/x/xnd@v3.0.2/compareTo.ts";
Compares a value to another value for order (returns zero for same, negative for before, and positive for after).
Values must implement Comparable
. Xnd implements this interface for String
, Number
, BigInt
, Boolean
, and Date
.
bigints[sort]();