It's about sorting, but not the usual kind. You're not just given a list of things to sort. Instead, you're given a dungeon to explore and the treasures you find is the sorted order. It's about finding a topological sort in a directed acyclic graph. You can learn more about it in MIT 6.042, which is where I first learned about this concept.