Talk:Sort the letters of string in alphabetical order: Difference between revisions

(→‎task usage of   alphabetical order: Commented on sort order.)
Line 39:
 
::: <pedantic-mode: on;> '''COMPLETELY''' immaterial. Neither is an alphabet. True, the task doesn't specify which alphabet to use, but neither of those are one. As for not using a sort, the task '''specifically requires''' writing a routine to '''sort'''. In what way could you interpret that to mean you don't need to sort? Yes, yes, I agree, you don't need to sort to get the end result required by the task, but it is pretty clear "Write a sort function, don't just use a built-in" requires there to be some kind of sort involved. <pedantic-mode: off;> --[[User:Thundergnat|Thundergnat]] ([[User talk:Thundergnat|talk]]) 14:59, 26 July 2021 (UTC)
 
:::: The task title and description are currently at odds with each other. The former says sort in alphabetical order and the latter in lexicographical order. Given that we have example strings containing both upper and lower case letters and non-letters, lexicographical order seems the most appropriate to me and I therefore agree with Paddy3118's suggested title change above. --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 15:48, 26 July 2021 (UTC)
 
==For this task it is not necessary to perform a sort!==
9,476

edits