make sorting consistent when more then 3 version numbers are used (fixes issue #1508)