I am willing to add this functionality to the documentation. Unfortunately, I have still not been able to figure out how sphinx inserting functions or classes in order and how the module index is being created.

Once I found my way I will try to come up with a generic way for this. Maybe someone can give some more insight to the subject?