It is late and I'm tired so I might very well be missing the point, however... I think you both overlook the fact that the sort() method is expected to return a list of (name, viewlet) tuples which util.sort_components() won't.
So, I have to jump through some hoops to get this list of (name, viewlet) tuples sorted just like util.sort_components() would sort the list of just viewlets.
It is late and I'm tired so I might very well be missing the point, however... I think you both overlook the fact that the sort() method is expected to return a list of (name, viewlet) tuples which util.sort_ components( ) won't.
So, I have to jump through some hoops to get this list of (name, viewlet) tuples sorted just like util.sort_ components( ) would sort the list of just viewlets.
If this explanation still makes sense that is.
Anyway, tomorrow I'll have a better look.