@Override
    public int compareTo(SourceLocation o) {
        if (!this.getFilename().equals(o.getFilename())) {
            return this.getFilename().compareTo(o.getFilename());
        }

        int lineComparison = Integer.compare(this.getLine(), o.getLine());
        if (lineComparison != 0) {
            return lineComparison;
        }

        return Integer.compare(this.getColumn(), o.getColumn());
    }
@return Returns the column from which the component originated.
smithy-model/src/main/java/software/amazon/smithy/model/SourceLocation.java