sorted document edit view