The following procedures provide support for text collation, i.e., locale-dependent string and character sorting.
Compare strings s1 and s2 in a locale-dependent way. If locale is provided, it should be locale object (as returned by
make-locale) and will be used to perform the comparison; otherwise, the current system locale is used. For the-civariants, the comparison is made in a case-insensitive way.
Compare strings s1 and s2 in a case-insensitive, and locale-dependent way. If locale is provided, it should be a locale object (as returned by
make-locale) and will be used to perform the comparison; otherwise, the current system locale is used.
Compare characters c1 and c2 according to either locale (a locale object as returned by
make-locale) or the current locale. For the-civariants, the comparison is made in a case-insensitive way.