I have a ListView and sorting is enabled, once I insert an item, how do I get that item's index?
I can use the ListViewItem returned by the Add method of ListView, but is its index before sort or after? And is it updated if it is sorted again? Like if I store the ListViewItem and the ListView is then sorted, will the ListViewItem I stored earlier, its Index property would be updated too?