Revert "Fix reversed sorting in exam list"

This reverts commit 70da9f8ba59b963352089a7112847e46beeaa395.

That commit was useless, due to nested while loops