Skip to content

TJSONArray.Sort

Sort the items in the array.

Declaration

Source position: fpjson.pp line 607

public 
procedure TJSONArray.Sort(Compare: TListSortCompare);

Description

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.

Errors

None.

See also

Name Description
#rtl.classes.TListSortCompare