Open alexrp opened 2 years ago
@alexrp Yes, the order is up to how the OS enumerates files and directories.
If you want to set a specific order for your examples, you can set the <ExampleOrder>
MSBuild property in your example.
i.e:
<ExampleOrder>5</ExampleOrder>
What do you think about sorting by name first and then by ExampleOrder
?
I suspect a lot of people would like alphabetical sorting anyway, and maintaining ExampleOrder
values across multiple projects to achieve that is a bit of a pain, especially in an evolving project. People who want a specific ordering could still override it as before.
Repro:
Windows output:
Linux output: