Sorting get_post_ancestors array May 27, 2022 by Tarik Billa OK Thought I need some special WP func to do it and as it turns out the simple answer is the best. krsort($anc);