Natural Orderby Versions Save

Lightweight (< 1.6kB gzipped) and performant natural sorting of arrays and collections by differentiating between unicode characters, numbers, dates, etc.

3.0.2

1 year ago

Bug Fixes

  • fix: performance issue when parsing date strings

3.0.1

1 year ago

Bug Fixes

  • fix: umd imports

3.0.0

1 year ago

BREAKING CHANGES

  • migrated codebase to TypeScript

2.0.3

5 years ago

Bug Fixes

  • specified node version in package.json´s engines field prevents installation of package in older node environments, closes #60

2.0.2

5 years ago

Bug Fixes

  • incorrect sorting of numeric values with leading zeros and trailing characters, closes #57

2.0.1

5 years ago

Bug Fixes

  • remove caseSensitive from options argument of compare function in flow library definition and TypeScript declaration

2.0.0

5 years ago

BREAKING CHANGES

  • removed option caseSensitive for function compare
  • Strings are now always compared case insensitive as the focus of this library is natural sorting, see #34 for details

Bug Fixes

  • Incorrect order with diacritics, closes #34

1.1.1

5 years ago

Bug Fixes

  • docs: fix url of global build hosted on unpkg CDN

1.1.0

5 years ago

Features

  • TypeScript: Add TypeScript declarations file, closes #1
  • Flow: Add flow library definition

Bug Fixes

  • incorrect sorting of values consisting of characters followed by numbers with leading zeros, closes #3
  • orderBy: unstable sort in Chrome up to version 69, closes #4

1.0.2

5 years ago

Bug Fixes

  • Handle numeric chunks with leading zeros as a string, closes #2