In theory, because he qualified above you he will have been a few metres ahead on the grid. Then it took you the exact same time to get round the track, so you came in those same few metres behind.
Thats is assuming that the timings given are for each car, rather than the time since the race itself started, of course.