sorted output for profile_tree reports