Here is method sortLoadedClasses 's comment:
But you will find the method do the opposite thing if you check the code . See 
Also , If you run this test , you can see the Tika's class come before non-Tika' class in the sorted list.
I think the code is right and we need to modify the comment.