Enemies sorted by distance

When the player is attacking, the enemies get sorted by the distance to
the player. Thus e.g. the bow can take out the three closest enemies.
Merge remote-tracking branch 'origin/jonas'