What order are the objects in the returned array of a multiboxtrace

I want to access the object that is closest to the line that a multiboxtrace is drawn on and was wondering if the array that is returned is in a certain order