RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TBaseArray.Sort Method

Provides the interface for a method that sorts the elements in the array.

Pascal
procedure Sort(Compare: TCompareProc); virtual;
C++
virtual __fastcall Sort(TCompareProc Compare);

The Sort method for TBaseArray does nothing. Descendants of TBaseArray override this method to sort the elements of the array using the ordering function provided in the Compare parameter. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!