code: function (items, sorting, order) {
          var list = _.sortBy(items, function (item) {
            return item[sorting];
          });
          if (order === 'desc') {
            list = list.reverse();
          }
          return list;
        }
docs: Sort items