doc now sorts its output