C#C
C#13mo ago
AyaMaya

✅ List.Sort()?

I am using a list named cmp to compare another list if it is equal to a sorted version of the same list. I am using cmp.Sort(). From what i have seen in the console.writeline... that it does not work at all

on the top is the list, on the bottom is each value in cmp, which is clearly not sorted from least to greatest. pls help
image.png
Was this page helpful?