RosettaCodeData/Task/Sort-an-integer-array/Delphi/sort-an-integer-array.delphi
2023-07-01 13:44:08 -04:00

8 lines
147 B
Text

uses Types, Generics.Collections;
var
a: TIntegerDynArray;
begin
a := TIntegerDynArray.Create(5, 4, 3, 2, 1);
TArray.Sort<Integer>(a);
end;