Fix identification ordering with objects on ground.

Should fix http://angband.oook.cz/forum/showthread.php?t=6362.