code: function sortByStart(a: AstLocation, b: AstLocation) {
    if (a.start.line < b.start.line) {
      return -1;
    } else if (a.start.line === b.start.line) {
      return a.start.column - b.start.column;
    }
  
    return 1;
  }
docs: Sorts an array of locations by start position