reorderng plots