Say you browse sites A B C D E, then later you go back and browse D, then B.
History seems to be recorded as A C E D B
But recording A B C D E D B might be more cluttered, but more helpful as well. It shows you the decisions you made to browse from one thing to another.
This compaction method also seems to happen across days, destroying the list of everything you browsed on tuesday in order.