sorting should be an optional interface between collector and their children

Create issue
Issue #13 resolved
Samuele Pedroni created an issue

Right now sorting for items is defined on Node but really only used in pycollect between Modules and their children. Indeed comparisons between things using the _getsortvalue in and the default implementation in would not produce meaningful results.

My idea would be to remove general sorting support from and move it to pycollect based maybe just on reportinfo(). People defining their collectors completely independently from the pycollect hierarchy would define their own approach.

I can cook a patch if this sounds reasonable.

Comments (4)

  1. Log in to comment