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

9 lines
199 B
Text

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