What's exactly this "specific order" if i use .sorted()? | Sololearn: Learn to code for FREE!
Nowy kurs! Każdy programista powinien nauczyć się Generative AI!
Wypróbuj darmową lekcję
0

What's exactly this "specific order" if i use .sorted()?

16th May 2020, 5:27 AM
Mahdi Moqadasi
Mahdi Moqadasi - avatar
2 odpowiedzi
+ 2
Default is ascending order.
16th May 2020, 1:53 PM
A͢J
A͢J - avatar
0
Thanks But what if it was not numeric? For example a custom class with some properties
16th May 2020, 2:06 PM
Mahdi Moqadasi
Mahdi Moqadasi - avatar