| [Overview][Constants][Types][Classes][Procedures and functions][Index] | 
Sort the items in the array
Source position: fpjson.pp line 533
public procedure TJSONArray.Sort(  | 
Compare: TListSortCompare  | 
);  | 
Compare  | 
  | 
Callback to compare 2 elements in the list  | 
Sort can be used to perform a sort in an array. The array does not compare elements, for this the Compare callback must be used, to compare 2 elements from the array.
None.