[Reference] Reorder and group hidden toctrees
Merge pull request #3160 from bicpi/reorder_reference_toctrees

[Reference] Reorder and group hidden toctrees