Home:ALL Converter>Sort ListViewGroups of a ListView alphabetically

Sort ListViewGroups of a ListView alphabetically

Ask Time:2012-09-23T03:21:46         Author:Ray

Json Formatter

Is it possible to sort all ListViewGroups of a Windows Forms ListView alphabetically at runtime?

Or do I have to manually implement sorting when I'm adding a group (using the "Insert" method of the ListViewGroupCollection)? If this is the case, can someone give me an idea how to do this?

Author:Ray,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/12546968/sort-listviewgroups-of-a-listview-alphabetically
yy