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.
title change
Merge remote-tracking branch 'origin/lucas'