code: function sortMediaQueries(a, b) {
    const A = a.replace(/\D/g, '');
    const B = b.replace(/\D/g, '');
  
    if (isMax(a) && isMax(b)) {
      return B - A;
    } else if (isMin(a) && isMin(b)) {
      return A - B;
    } else if (isMax(a) && isMin(b)) {
      return 1;
    } else if (isMin(a) && isMax(b)) {
      return -1;
    }
  
    return 1;
  }
docs: Sort media queries (max/min width).
  
  @param {String} a
  @param {String} b
  @return {Number}