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