Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
filteredLocaties = locaties.Where(p => p.Value<string>("Gemeente").Equals(filter, StringComparison.OrdinalIgnoreCase)).ToList();
This is my locations list. How to I order this alphabeticaly?
Thank!
You can just use the LINQ to order a list of strings:
filteredLocaties = locaties.Where(p => p.Value<string>("Gemeente").Equals(filter, StringComparison.OrdinalIgnoreCase)).OrderBy(p => p.Value<string>("Gemeente")).ToList();
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Sorting a list alphabethical
Hi,
This is my locations list. How to I order this alphabeticaly?
Thank!
You can just use the LINQ to order a list of strings:
is working on a reply...