add sorted_breadth_first