code: function compareLocations(itemA, itemB) {
      return itemA.line - itemB.line || itemA.column - itemB.column;
  }
docs: Compares the locations of two objects in a source file
  @param {{line: number, column: number}} itemA The first object
  @param {{line: number, column: number}} itemB The second object
  @returns {number} A value less than 1 if itemA appears before itemB in the source file, greater than 1 if
  itemA appears after itemB in the source file, or 0 if itemA and itemB have the same location.