code: function sortValuesByPercentAscending(ruleProperty, values) {
    return values.sort((a, b) => {
      const aPercent = a[ruleProperty] || 0;
      const bPercent = b[ruleProperty] || 0;
      return aPercent < bPercent
        ? -1
        : aPercent === bPercent
          ? 0
          : 1;
    });
  }
docs: /* eslint no-nested-ternary: 0