Sorting is easy, so is detecting a cycle. Pointing...
# kobalt
c
Sorting is easy, so is detecting a cycle. Pointing out the cycle, bit more tricky.