Started on order function.
Reorder classes.