Skip to content


Subversion checkout URL

You can clone with
Download ZIP
The Alphanum Algorithm
Branch: master
Failed to load latest commit information.
.settings first commit
src first commit
.checkstyle first commit
.classpath first commit
.gitignore first commit
.pmd first commit
.project first commit first commit
build.xml first commit

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.