Skip to content

Releases: doesdev/leven-sort

Semver major algo change, sort now more stable

15 Apr 21:09
Compare
Choose a tag to compare

The way the levenshtein algo works is relative to string size, which in the previous sort implementation could lead to unexpected results. Now we normalize the length of all inputs so the scoring is consistent across the data set, resulting in less unexpected sorting results.