Customizing Sort Order of C# Arrays -


This is a bit annoying to me. I have tried many ways and nobody is working properly.

I am writing and I am an IRC client and am trying to resolve the list of user names (which should be sorted by users' access level, current channel).

It is easy enough that whenever a user joins or leaves it, then this list must be added so that their user names are removed from the list and when they are added again, the correct Re-add to the situation.

Each user 'entry level is indicated by a single character at the beginning of each user name, these letters are reserved, so there is no probable problem with the name starting with any one of the symbols. Symbols from highest to low (in order of order, I need to sort them): ~ & amp; @% +

There is no mark before the user's user name without access to any type, they should be at the bottom of the list. For example: Unordered array may have the following: ~ user1 ~ user84 @ user3 and user8 + user39 user002 user2838% user29

and it needs to be sorted so that the element is in the following order: ~ user1 ~ User84 and user8 @ user3% user29 + user39 user002 user2838

After the users have been sorted by the access level, they need to sort alphabetically.

Asking here is one last resort, if someone can help me, then I would appreciate it very much. Thankyou in advance

As long as there is an object in the array, then apply the ICO parameter to the object and then call Array . head ().

Although the collection is variable, then I have a list & lt;>.


Comments