reformat
add doc ordering