enable sorting of related elements