Fix #247 by sorting the list of platform versions by a padded string key