function typesCodec.sortMapimport { typesCodec } from "https://dotland.deno.dev/x/polkadot@0.2.38/mod.ts"; const { sortMap } = typesCodec; sortMap<K extends Codec = Codec, V extends Codec = Codec>(map: Map<K, V>): Map<K, V>Type ParametersoptionalK extends Codec = CodecoptionalV extends Codec = CodecParametersmap: Map<K, V>ReturnsMap<K, V>