order collision array so oldest stay on the left
fixed jshint