bugfix on sorting by health after changing the rules for calculating health