Fixed error in component sorting code.
0.2.2