sort_unlocale {document} | R Documentation |
Sort a Character Vector in Lexical Order Avoiding the Locale
Description
sort
uses the collation of the locale (see
Comparison
), which results in different sorting. If a
(RUnit)
check relies on sorting, we need to avoid the locale.
Usage
sort_unlocale(char)
Arguments
char |
The character vector to sort. |
Value
The sorted character vector.
[Package document version 4.0.1 Index]