sort block to grouped parent and translations