This project has moved. For the latest updates, please go here.

Is it possible to change the sort order of the members in the generated docs?

Mar 16, 2009 at 12:13 PM

in my source code I have used regions to group members together. When creating a documentation with Sandcastle, the regions are ignored and all members are sorted alphabetically.

Is there any trick on how to keep the original ordering and prevent alphabetical re-ordering?


Mar 16, 2009 at 6:07 PM
You may be able to write a plug-in to alter the sort order.  Because your "order" is dependent on the order of the members in the source code, you'd probably have to do something like parse all of the source files to figure out how they were grouped.  Sandcastle and SHFB don't work with the source code so that's up to you to implement.