Haircut said:You can use the IComparer interface to do this
The List class supports an overloaded version of the .Sort method that takes an input of type IComparer
Basically you need to implement IComparer in your class so that it does the comparison based on the tag of the object, then just sort the list using that IComparer.
This link should help out a bit
http://www.devx.com/dotnet/Article/21089/0/page/3