Sort hierarchy by publish date