If @a contains only numbers:
@a
my @sorted = sort @a;
For an in-place sort:
@a .= sort;
Last updated 11 months ago