You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

cmp.js 210B

12345678910111213
  1. var cmp = require('../');
  2. var versions = [
  3. '1.2.3',
  4. '4.11.6',
  5. '4.2.0',
  6. '1.5.19',
  7. '1.5.5',
  8. '4.1.3',
  9. '2.3.1',
  10. '10.5.5',
  11. '11.3.0'
  12. ];
  13. console.log(versions.sort(cmp).join('\n'));