Your already alpha sorting right? couldn't you add just the object type to the sort method? 80% of my window is always filled with text objects. having them grouped would pretty it up by itself. (I never remember all the names I use to search.)
Thinking along those lines, I will now always start my text objects with z. That will fix it for me.