Ticket 47980 - Nested COS definitions can be incorrectly
processed
Bug Description: The COS cache attribute index gets incorrectly sorted
and results in unexpected COS values being applied to
an entry.
Fix Description: The sorting method for comparing the target tree does
not work as indended, but we don't need to sort by the
target tree if the cos attributes are the same, as the
list is already in the proper tree order as returned by
the internal search. The fix was just to remove the
target tree comparison from the qsort compare function.
https://fedorahosted.org/389/ticket/47980
Reviewed by: nhosoi(Thanks!)