Lexicographically compare this string with another sequence.
Declared in <bslstl_string.h>
<bslstl_string.h>
int compare(basic_string const& other) const noexcept;
negative, zero, or positive according to the lexicographic order