vierbergenlars/php-semver — pull request #24 by BrunoDeBarros (2012-12-13 20:07:53+00:00)
Title: Pre-release numbers aren't ordered numerically.

The following returns true:

\vierbergenlars\SemVer\version::gt('4.0.0-beta.9', '4.0.0-beta.10')

When it really shouldn't. I used PHP's natsort() as a quick fix for this (it sorts the two tags naturally). I'm not sure if this fits in well with how you do things, so feel free to change it in whatever way you see fit, but it has solved my problem.