PYDEV-329: TreeSort comparison must be fixed (it had errors because sometimes it would get the string to compare decorated and sometimes not).