def values(self, reverse=False):
        """Generate the values in this BST in sorted order."""
        if reverse:
            return self._iter(_RIGHT, _LEFT)
        else:
            return self._iter(_LEFT, _RIGHT)
Generate the values in this BST in sorted order.
recipes/Python/577540_Python_Binary_Search_Tree/recipe-577540.py