Ticket #1073124
Hierarchy were optimized. The resulting tree need to be sorted by default first by levels than by parent_ID to keep the structure consistent. In additional as written in ticket the resulting tree is then sorted by company_ID and then by name.