diff --git a/indra/explanation/paths_graph.py b/indra/explanation/paths_graph.py
index <HASH>..<HASH> 100644
--- a/indra/explanation/paths_graph.py
+++ b/indra/explanation/paths_graph.py
@@ -288,8 +288,7 @@ def sample_single_path(pg, source, target, signed=False, target_polarity=0,
                 out_edges = pg.out_edges(current_node, data=True)
             else:
                 out_edges = pg.out_edges(current_node)
-            if sys.version_info.major == 3:
-                out_edges = sorted(out_edges)
+            out_edges.sort()
             if out_edges:
                 if weighted:
                     weights = [t[2]['weight'] for t in out_edges]
Change to useing .sort() to accomodate py2.