import { compare } from "@thi.ng/compare/compare" ; import type { SortOpts } from "../api.js" ; /**
 * Helper function to inject default  SortOpts .
 *
 *  param opts internal export const __sortOpts = < A , B > ( opts ? ) => < SortOpts < A , B > > { key : ( x ) => x , compare , ... opts , } ;