function createCmpimport { createCmp } from "https://dotland.deno.dev/x/polkadot@0.2.35/util/bi/helpers.ts"; createCmp<T>(cmp: (a: T, b: T) => boolean): (...items: T[]) => TType ParametersTParameterscmp: (a: T, b: T) => booleanReturns(...items: T[]) => T