Packagist: using semver to order versions

Fixes #175.