I'm not sure the best way to do the unit tests. A little confused. So
help would be appreciated :)
Add the ability to reverse the list of entries when using 'toctree'.
This is likely most useful for people using the 'glob' flag option with
'toctree'
Change-Id: I1852479106c3d9c8253fd1625ced0077af0304e3