© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•15mo ago•
37 replies
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
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Sort a list
C#CC# / help
4y ago
✅ sort list after property
C#CC# / help
3y ago
❔ Sort dictionary according to the list of string (sorted keys)
C#CC# / help
4y ago
How to sort a linked list
C#CC# / help
3y ago