What is your question?
I noticed that FIMS is using radix sorting for the WORDLIST in dev. This is a strict ASCII/C-style sort and doesn't mix cases. Do we want to standardize on the radix style? If so, we should update the instructions in .github/workflows/spell-check.yml and ask users to sort words using
sorted_words <- sort(unique(all_words), method = "radix")
Example:
words <- c("apple", "Banana", "banana", "Apple")
# Default sort (locale-dependent)
sort(words)
#> "apple" "Apple" "banana" "Banana"
# Radix sort (strict ASCII / C-style, case-sensitive)
sort(words, method = "radix")
#> "Apple" "Banana" "apple" "banana"
Additional context
No response
What is your question?
I noticed that FIMS is using
radixsorting for the WORDLIST indev. This is a strict ASCII/C-style sort and doesn't mix cases. Do we want to standardize on theradixstyle? If so, we should update the instructions in.github/workflows/spell-check.ymland ask users to sort words usingsorted_words <- sort(unique(all_words), method = "radix")Example:
Additional context
No response