enemy, objects array sorting fix