document (version 4.0.0)

sort_unlocale: 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)

Value

The sorted character vector.

Arguments

char

The character vector to sort.