sort document comment