Click here to Skip to main content
11,408,708 members (61,944 online)
Click here to Skip to main content

Tagged as

Implementing the .NET IComparer interface to get a more natural sort order

, 4 Jul 2008 CPOL
The IComparer available in .NET lets you sort numbers or strings. This little class available in both C# and VB shows how to implement an IComparer which will work with mixed characters and numbers.


Members may post updates or alternatives to this current article in order to show different approaches or add new features.

No alternatives have been posted.


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Pascal Ganaye
Software Developer (Senior)
United Kingdom United Kingdom
I am a French programmer.
These days I spend most of my time with the .NET framework, JavaScript and html.

| | Privacy | Terms of Use | Mobile
Web04 | 2.8.150414.5 | Last Updated 4 Jul 2008
Article Copyright 2008 by Pascal Ganaye
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid