in reply to sorting a list according to numeric values using the function splice()
@a = sort { $a <=> $b } splice(@a); [download]