Fix ordering by damage.
Merge pull request #3 from xfix/ordering

Fix ordering by damage.