In Perl, the sort function is non-destructive and returns the sorted list without modifying the original array in-place. Because the return value is discarded, @array remains unchanged as 10 30 20. Distractors assume in-place sorting or numerical conversion.