docs: function caseInsensitiveSorter(pattern1, pattern2) {
      pattern1 = pattern1.toLowerCase();
      pattern2 = pattern2.toLowerCase();
  
      if (pattern1 === pattern2)
          return 0;
  
      return pattern1 > pattern2 ? 1 : -1;
  }