Use This Template

CompareTo(Text)

Compares the field with a string to a specified object or string and returns an integer that indicates whether this instance precedes (-1), follows (1), or appears in the same position (0) in the sort order as the specified object or string.

CompareTo(Text)

Compares the field with a string to a specified object or String and returns an integer that indicates whether this instance precedes (-1), follows (1), or appears in the same position (0) in the sort order as the specified object or String.