# another way to to it: for (reverse sort @toremove) { ... }