I think different, and related to the doctrine phpcr-odm layer. And maybe needs some logic on sonata side to create the correct query: what would you expect when sorting on the nodename? Alphabetically, by children position or something else?