APIsStandard librarybuiltincomparableOn this pagemodulecomparable Traits Comparable: A type which can be compared with other instances of itself.