Make catalogtree work with language depending layers sorting