RosettaCodeData/Task/Sort-an-integer-array/Elena/sort-an-integer-array.elena
2026-02-01 16:33:20 -08:00

9 lines
200 B
Text

import system'routines;
import extensions;
public Program()
{
auto unsorted := new int[]{6, 2, 7, 8, 3, 1, 10, 5, 4, 9};
Console.printLine(unsorted.clone().sort(ifOrdered).asEnumerable())
}