Timeline for OrderedQ with string arguments
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Oct 20, 2021 at 19:31 | comment | added | andre314 | I think I have understood "It seems that Sort treats 'a' and 'A' equivalently" (see my answer) | |
Oct 10, 2018 at 0:51 | comment | added | Mr.Wizard |
I don't understand the plain-English statement "It seems that Sort treats 'a' and 'A' equivalently" -- it does not in the most natural interpretation (to me) agree with the example below. Perhaps you could try phrasing that in a different way?
|
|
Oct 9, 2018 at 20:24 | comment | added | Michael E2 |
I would add that "dictionary order" is easier to understand with examples like OrderedQ[{"ac", "Ab"}] instead of the ones and twos. Also punctuation characters are treated differently (and different from my print dictionary) than letter-like characters, to which class digits apparently belong.
|
|
Oct 9, 2018 at 18:16 | history | answered | Carl Woll | CC BY-SA 4.0 |