Fixed shadowed variable warning
Reverse dead sorting, fixes #1802