| [Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | 
Callback to sort collection items
Source position: classesh.inc line 519
| type TCollectionSortCompare = function( | 
| Item1: TCollectionItem; | 
| Item2: TCollectionItem | 
| ):Integer; | 
TCollectionSortCompare is the prototype for a callback used in the TCollection.Sort method. The procedure should compare Item1 and Item2 and return an integer:
| 
 | Sort the items in the collection |