Anchors from the docs index API are returned in source-document order. The CLI currently sorts them alphabetically by slug (src/commands/docs-list.ts:41), which loses that ordering.
We should preserve the API's original order when displaying anchors so they match the structure of the underlying document.
Anchors from the docs index API are returned in source-document order. The CLI currently sorts them alphabetically by slug (
src/commands/docs-list.ts:41), which loses that ordering.We should preserve the API's original order when displaying anchors so they match the structure of the underlying document.