Adding methods to reorder the cells