We go through the list two more times and we finally get our
ordered list
.
Easy, isn't it?