Added an animator to visualize and tests for whether or not sorts work.