1 Repo
Allows extending sorting logic via user-supplied comparison functions.
Distinct from Custom Comparison Logic: Distinct from Custom Comparison Logic: focuses on the mechanism of injecting external functions for sorting rather than state-change detection logic.
Explore 1 awesome GitHub repository matching software engineering & architecture · Comparison Function Injection. Refine with filters or upvote what's useful.
match-sorter is a JavaScript string matching and array filtering utility designed to rank and sort lists based on search string relevance. It functions as a deterministic best-match sorting library and fuzzy search engine for filtering object arrays. The tool prioritizes results using weighted match heuristics that favor exact matches, acronyms, and string containment. It employs a deterministic ranking system to ensure consistent ordering and supports diacritic-insensitive normalization to match characters regardless of accents. The library covers match criteria specification via key-path p
Provides the ability to override default sorting results using external comparison functions.