NaturalStringExtensions

Extensions for sorting strings using natural sort order i.e. Alphabetical order for humans

APACHE-2.0 License

Stars
28
Committers
4

Bot releases are hidden (Show)

NaturalStringExtensions - v3.0.0 Latest Release

Published by augustoproiete almost 2 years ago

⚡ New features / improvements

  • Add support for .NET 7.0 RTM (#69) (@augustoproiete)
  • Drop support for .NET Framework 4.6.1 in favor or .NET Framework 4.6.2 (#74) (@augustoproiete)

Supported features and usage examples are described in the README.

The full list of changes is available here.
NuGet package available on nuget.org.

NaturalStringExtensions - v2.1.0

Published by augustoproiete almost 3 years ago

⚡ New features / improvements

  • Add support for .NET 6.0 RTM (@augustoproiete)

Supported features and usage examples are described in the README.

The full list of changes is available here.
NuGet package available on nuget.org.

NaturalStringExtensions - v2.0.0

Published by augustoproiete about 3 years ago

⚡ New features / improvements

  • Add support for .NET 6.0 RC (6.0.100-rc.1.21458.32) (@augustoproiete)
  • Support for OrdinalIgnoreCase, CurrentCulture, and InvariantCulture (@thomaslevesque, @augustoproiete)
  • Use spans to avoid allocations when possible (@thomaslevesque, @augustoproiete)
  • Add IsLessThan, IsLessThanOrEqual, IsGreaterThan, IsGreaterThanOrEqual, and IsEqual (@augustoproiete)
  • Add support for using a custom IComparer<string> (@augustoproiete)
  • Expose NaturalStringComparer instances via INaturalStringComparer interface (@augustoproiete)
  • Add NaturalStringComparer.Ordinal singleton property (replaces .Instance) (@augustoproiete)
  • Implement IEqualityComparer<string>, IEqualityComparer, IComparer (@augustoproiete)
  • Implement NaturalStringComparer.FromComparison (@augustoproiete)
  • Add Extensions to StringComparison (@augustoproiete)

🐛 Fixes

  • IEnumerableExtensions now use OrdinalIgnoreCase by default to match StrCmpLogicalW Windows API behavior

Supported features and usage examples are described in the README.

The full list of changes is available here.
NuGet package available on nuget.org.

NaturalStringExtensions - v1.0.0

Published by augustoproiete almost 4 years ago

⚡ Initial version of NaturalStringExtensions (@augustoproiete).


Supported features and usage examples are described in the README.

The full list of changes is available here.
NuGet package available on nuget.org.

Badges
Extracted from project README
NuGet Version .NET 5+ .NET Standard 2.0 .NET Framework 4.6.1+ Stack Overflow
Related Projects