docs: function sortByProp(prop, list) {
    const get = R.is(Array, prop) ? R.path : R.prop;
    return R.sort((elA, elB) => {
      const a = get(prop, elA);
      const b = get(prop, elB);
      return sortObjects(a, b);
    }, list);
  }