refactoring version sorting. See #60
Merge remote-tracking branch 'upstream/master'