code: function sortByLinePoint(a, b) {
    let lineA = a.lines[0];
    let lineB = b.lines[0];
    return sortByPoint(
      {x: lineA[0], y: lineA[1]},
      {x: lineB[0], y: lineB[1]}
    );
  }
docs: Sort annotation by it's first line