code: function semvarSort(a, b) {
    var _a = getVersion(a);
    var _b = getVersion(b);
    return (semvar.gt(_a, _b)? 1 : (semvar.lt(_a, _b) ? - 1 : 0));
  }
docs: Sorter to sort according to semvar sequence. For use in Array.prototye.sort().
  
  @param {string} a      First sort item.
  @param {string} b      Second sort item.
  @returns {number}      How to sort, returns 1,0 or -1.