Sort:  

Total HP (own or delegation, doesn't matter)
It's just a one-time check on the trail creation.