code: function versionToSortableString(version, maxDigitsBetweenDots) {
          if (maxDigitsBetweenDots === void 0) { maxDigitsBetweenDots = 4; }
          return (version || "").split(".").map(function (x) {
              var length = x.length;
              return (length >= maxDigitsBetweenDots)
                  ? x : _.padStart(x, maxDigitsBetweenDots - length, ' ');
          }).join(".");
      }
docs: Converts a version string with numbers and dots of the form "123.456.790" into a string
  which is sortable as a string, by left padding each string between the dots to at least 4 characters
  so things just sort as a string.
  
  @param text
  @return {string} the sortable version string