Vehicle Rank in racing game

Yes I did. I used target points along the track. Each target point is arranged in order such that the furthest along the track is the one with the highest value. The vehicles select the closest target point to them. Using that, I can rank the cars with just a simple comparison between which vehicle has the target point that has the greater value.