changed the __iter__ method of the class JordanDecomposition to run through the jordan components in a sorted manner.