What if we use uppercase words also, then which word will come first? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What if we use uppercase words also, then which word will come first?

If one word is ace and other is Ace, which one will come first.?

17th Apr 2017, 5:53 AM
Vishwas Anandani
Vishwas Anandani - avatar
3 Answers
+ 5
According to machine collating, I guess, 'Ace' should come before 'ace' with reference to their index in ASCII table.
17th Apr 2017, 7:14 AM
देवेंद्र महाजन (Devender)
देवेंद्र महाजन (Devender) - avatar
+ 1
depending on sort algorithm, in general uppercase comes first (see your used code page)
17th Apr 2017, 7:15 AM
Volker Milbrandt
Volker Milbrandt - avatar
0
According to what you want it to be first because you are the one who is riding the machine (i mean the code)?
12th May 2017, 12:30 AM
AlkhidierAbdalla Bakhiet idriss
AlkhidierAbdalla Bakhiet idriss - avatar