adds sorting to docs nav