code: function sooner (property) {
    return function (a, b) {
      if (a[property][0] < b[property][0]) return true;
      if (a[property][0] > b[property][0]) return false;
      return a[property][1] < b[property][1];
    }
  }
docs: Comparison operator generator for high-resolution time for use with heap.