Fix ordering by damage.