reorder and document