Sort a Generic Delphi List using an Anonymous Comparer Method
Monday January 5, 2009
in Delphi TIPS :: Delphi 2009 adds Generics and Anonymous methods to the Delphi language. When you have objects in some list - one of a commonly required tasks is to sort the list: either ascending, descending or using some list-specific algorithm. Using anonymous methods you can apply the sorting function directly "inline" with the call to the Sort method.
Read the full article to learn how to Sort a Generic Delphi List using Anonymous Comparer Method
Related:


No comments yet. Leave a Comment