static int compare(FromSourceLocation s1, FromSourceLocation s2) {
        return s1.getSourceLocation().compareTo(s2.getSourceLocation());
    }
Compares two FromSourceLocations.

@param s1 the first FromSourceLocation to compare.
@param s2 the second FromSourceLocation to compare.
@return the value 0 if s1 == s2; a value less than 0 if s1 &lt; s2; and a value greater than 0 if s1 &gt; s2.
smithy-model/src/main/java/software/amazon/smithy/model/FromSourceLocation.java