code: function orderBy(collection, keys, directions) {
      var index = -1;
      var result = collection.map(function (value) {
          var criteria = keys.map(function (key) { return value[key]; });
          return { criteria: criteria, index: ++index, value: value };
      });
      return baseSortBy(result, function (object, other) {
          return compareMultiple(object, other, directions);
      });
  }
docs: Creates an array of elements, sorted in specified order by the results
  of running each element in a collection thru each iteratee.