Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Alphanum Algorithm
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

The Alphanum Algorithm

"People sort strings with numbers differently than software does. Most sorting algorithms compare ASCII values, which produces an ordering that is inconsistent with human logic." David Koelle's approach to this problem is known as the Alphanum Algorithm.

While the sorting algorithm as such works well, the Java implementation has some minor, but annoying flaws when it comes to static analysis and standard coding guidelines. That's why including its source code in professional projects with a focus on code quality can easily become troublesome.

However, this Java version of the Alphanum Algorithm is compatible with the following QA tools:

Build Prerequisites

  • J2SE 5.0 or newer

API (Javadoc)


The Alphanum Algorithm is released under the GNU Lesser General Public License.

Something went wrong with that request. Please try again.