in reply to How foreach loops decide what to iterate through

I would think both methods would just be the same and so I would prefer method 2 since it has less clutter.
foreach (sort @a) { ... }