diff --git a/mindgraph/graph.py b/mindgraph/graph.py
index 640c52d..a1a5ad7 100644
--- a/mindgraph/graph.py
+++ b/mindgraph/graph.py
@@ -1,7 +1,8 @@
 # -*- coding: utf-8 -*-
 import functools
+from typing import (Any, Callable, Generator, Iterator, List, Optional, Set,
+                    Tuple)
 
-from typing import List
 from yaml import dump, load
 
 
@@ -72,9 +73,42 @@ class Node(object):
                                          functools.partial(node.custom_repr,
                                                            depth=depth + 1),
                                          node.threads))
-
         return "    " * (depth - 1) + "- {}".format(node.name)
 
+    def _postorder(self,
+                   depth: int = 0,
+                   visited: Set["Node"] = None,
+                   node_key: Callable[["Node"], Any]=None,
+                   ) -> Generator[Tuple[int, "Node"], None, Set["Node"]]:
+        """Post-order traversal of graph rooted at node"""
+        if visited is None:
+            visited = set()
+
+        children = self._threads
+        if node_key is not None:
+            children = sorted(self._threads, key=node_key)
+
+        for child in children:
+            if child not in visited:
+                visited = yield from child._postorder(depth+1,
+                                                      visited,
+                                                      node_key)
+
+        yield (depth, self)
+        visited.add(self)
+
+        return visited
+
+    def todo(self) -> Iterator["Node"]:
+        """Generate nodes in todo order
+
+        Nodes are scheduled by weight and to resolve blocking tasks
+        """
+        # sorts by weight (2 before 1), then alphabetical
+        def node_key(node):
+            return (-node.weight, node.name)
+        return (x[1] for x in self._postorder(node_key=node_key))
+
     def __str__(self) -> str:
         return dump(load(str(self.__repr__())), default_flow_style=False)
 

add method that returns a generator of a "sorted to-do list"
As eluded to in #5, this would be a `Node` object method that traverses its threads, and returns a sequential data structure of all head nodes. Nodes should be sorted by weight, but nodes containing dependencies should be preceded by their dependencies.

I'm thinking this should be a [generator](https://www.programiz.com/python-programming/generator) w/ the following behavior...
e.g.,
```
>>> print(graph)
build a thing:
- task 1: # has a weight of 3 (default weight: 1)
  - task 1.1
  - task 1.2 # depends on task 2.2
  - task 1.3 # has a weight of 3
- task 2: # has a weight of 2
  - task 2.1
  - task 2.2:
    - task 2.2.1
    - task 2.2.2
- task 3:
 - task 3.1
 - task 3.2 # depends on task 2.2
>>> todo = graph.sorted()
>>> next(todo)
task 1.3
>>> next(todo)
task 1.1
>>> next(todo)
task 2.2.1
>>> next(todo)
task 2.2.2
>>> next(todo)
task 1.2
>>> next(todo)
task 2.1
>>> next(todo)
task 3.1
>>> next(todo)
task 3.2
```

Feel free to point out any edge cases I may've missed, such as cyclic graphs (see #1)
diff --git a/test/test_mindgraph.py b/test/test_mindgraph.py
index f21f08d..9dbac53 100644
--- a/test/test_mindgraph.py
+++ b/test/test_mindgraph.py
@@ -1,7 +1,9 @@
-from mindgraph import *
+import os
+
 import pytest
 import yaml
-import os
+
+from mindgraph import *
 
 
 @pytest.fixture(scope="module")
@@ -10,6 +12,56 @@ def graph():
     return graph
 
 
+@pytest.fixture
+def task_graph():
+    # setup example graph from issue #14
+    g = Graph('build a thing')
+
+    t1 = g.append('task 1')
+    t1.weight = 3
+    t11 = t1.append('task 1.1')
+    t12 = t1.append('task 1.2')
+    t13 = t1.append('task 1.3')
+    t13.weight = 3
+
+    t2 = g.append('task 2')
+    t2.weight = 2
+    t21 = t2.append('task 2.1')
+    t22 = t2.append('task 2.2')
+    t221 = t22.append('task 2.2.1')
+    t222 = t22.append('task 2.2.2')
+
+    t3 = g.append('task 3')
+    t31 = t3.append('task 3.1')
+    t32 = t3.append('task 3.2')
+
+    t32.threads.append(t22)
+    t12.threads.append(t22)
+    return g
+
+
+def test_todo_high_weights_win(task_graph):
+    """High weights are scheduled before low weights"""
+    todo = [n.name for n in task_graph.todo()]
+    assert todo.index('task 1') < todo.index('task 2')
+    assert todo.index('task 1') < todo.index('task 3')
+    assert todo.index('task 1.3') < todo.index('task 1.1')
+
+
+def test_todo_blocking_tasks_win(task_graph):
+    """Blocking tasks are scheduled before blocked tasks"""
+    todo = [n.name for n in task_graph.todo()]
+    assert todo.index('task 2.2') < todo.index('task 3.2')
+    assert todo.index('task 2.2') < todo.index('task 1.2')
+    assert todo.index('task 1.1') < todo.index('task 1.2')
+
+
+def test_postorder_default_weights_ignored(task_graph):
+    """Post-order traversal ignores node weights by default"""
+    po = [n.name for _, n in task_graph._postorder()]
+    assert po.index('task 1.1') < po.index('task 1.3')
+
+
 def test_node_init_typeerror():
     with pytest.raises(TypeError) as info:
         node = Node(47)

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov pytest-pep8
3.6
requirements.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
coverage==6.2
execnet==1.9.0
importlib-metadata==4.8.3
iniconfig==1.1.1
-e git+https://github.com/capsulecorplab/mindgraph.git@78d3cd912e2a882a2b6cb9569d3122afec05c47e#egg=mindgraph
mypy==0.971
mypy-extensions==1.0.0
packaging==21.3
pep8==1.7.1
pluggy==1.0.0
py==1.11.0
pyparsing==3.1.4
pytest==7.0.1
pytest-cache==1.0
pytest-cov==4.0.0
pytest-pep8==1.0.6
PyYAML==6.0.1
tomli==1.2.3
typed-ast==1.5.5
typing_extensions==4.1.1
zipp==3.6.0

name: mindgraph
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - coverage==6.2
      - execnet==1.9.0
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - mypy==0.971
      - mypy-extensions==1.0.0
      - packaging==21.3
      - pep8==1.7.1
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cache==1.0
      - pytest-cov==4.0.0
      - pytest-pep8==1.0.6
      - pyyaml==6.0.1
      - tomli==1.2.3
      - typed-ast==1.5.5
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/mindgraph

test/test_mindgraph.py::test_todo_high_weights_win test/test_mindgraph.py::test_todo_blocking_tasks_win test/test_mindgraph.py::test_postorder_default_weights_ignored
test/test_mindgraph.py::test_repr test/test_mindgraph.py::test_deep_repr test/test_mindgraph.py::test_to_yaml
test/test_mindgraph.py::test_node_init_typeerror test/test_mindgraph.py::test_node_append_node test/test_mindgraph.py::test_node_append test/test_mindgraph.py::test_node_pop test/test_mindgraph.py::test_node_pop_fail1 test/test_mindgraph.py::test_node_append_TypeError test/test_mindgraph.py::test_blockedby test/test_mindgraph.py::test_blocking test/test_mindgraph.py::test_weight_getter_setter test/test_mindgraph.py::test_name_getter_setter test/test_mindgraph.py::test_to_yaml_TypeError
mindgraph/graph.py
mindgraph/graph.py