Return values in BST sorted by level and position