Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

The Alphanum Algorithm

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 .settings
Octocat-spinner-32 src
Octocat-spinner-32 .checkstyle
Octocat-spinner-32 .classpath
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .pmd
Octocat-spinner-32 .project
Octocat-spinner-32 README.md
Octocat-spinner-32 build.xml
README.md

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)

License

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

Something went wrong with that request. Please try again.