docs/src/pages/discover-more/showcase/Showcase.js
function sortFactory(key) {
  return function sortNumeric(a, b) {
    if (b[key] < a[key]) {
      return -1;
    }
    if (b[key] > a[key]) {
      return 1;
    }
    return 0;
  };
}
function sortFactory(key) {
  return function sortNumeric(a, b) {
    if (b[key] < a[key]) {
      return -1;
    }
    if (b[key] > a[key]) {
      return 1;
    }
    return 0;
  };
}
function sortFactory ( key ) { return function sortNumeric ( a , b ) { if ( b [ key ] < a [ key ] ) { return - 1 ; } if ( b [ key ] > a [ key ] ) { return 1 ; } return 0 ; } ; }
Returns a function that sorts reverse numerically by value of `key`
Returns a function that sorts reverse numerically by value of key