order cats by tree path