reordering graphic elements