Light Mode
Dark Mode
Bigger Together - obscure sorting method

I try to sort list [12, 22, 32, 3] cur_list.sort() and get result: ['12', '22', '3', '32'] but correct sorting has be ['12', '22', '32', '3'] I don't understand such sorting.

Attachment
  • Bigger
  • sorting
  • Together
Created: April 5, 2022, 11:55 a.m.
Updated: April 14, 2022, 8:56 a.m.
0
23
User avatar
Polundra