code: function compareSpecificityStrings(a, b) {
      var l = Math.min(a.length, b.length);
      for (var i = 0; i < l; i += 1) {
          var ai = StringWrapper.charCodeAt(a, i);
          var bi = StringWrapper.charCodeAt(b, i);
          var difference = bi - ai;
          if (difference != 0) {
              return difference;
          }
      }
      return a.length - b.length;
  }
docs: /*
  Expects strings to be in the form of "[0-2]+"
  Returns -1 if string A should be sorted above string B, 1 if it should be sorted after,
  or 0 if they are the same.