code: function events (obj, build, compare) {
    var e = []
    forEachTime(function (time, obj) {
      e.push(build ? build(time, obj) : [time, obj])
    }, null, obj)
    return e.sort(compare || function (a, b) { return a[0] - b[0] })
  }
docs: Get a sorted events array from a score