import { buildSort } from "https://dotland.deno.dev/x/lume@v2.4.2/core/searcher.ts";
Convert a query to sort to a function
example: "title=desc" returns: (a, b) => a.title > b.title
import { buildSort } from "https://dotland.deno.dev/x/lume@v2.4.2/core/searcher.ts";
Convert a query to sort to a function
example: "title=desc" returns: (a, b) => a.title > b.title