I have a table with a list of countries in which I use to populate a drop-down list.
How can I build a LINQ query to return a list of countries from this table in alphabetical order, with the exception of placing the USA at the top?
So, if the table contains:
Sweden
USA Singles Mexico
Denmark
He will return:
USA Singles Denmark
Mexico
Sweden
?
source
share