code: function (a, b) {
        var opts = _.extend({sortOrder: 'asc', sortBy: 'index'}, options);
  
        a = a.data[opts.sortBy];
        b = b.data[opts.sortBy];
  
        var result = 0;
        result = a > b ? 1 : a < b ? -1 : 0;
        if(opts.sortOrder.toLowerCase() === 'desc') {
          return result * -1;
        }
        return result;
      }
docs: Accepts two objects (a, b),
  @param  {Object} a
  @param  {Object} b
  @return {Number} returns 1 if (a >= b), otherwise -1