Added code to sort the demons by level.