sort by version number. Fixes #5