Reorganize document list.