update docs to reflect sorted_leaves name change