+124 intermediate: edge sorting
+124 intermediate: edge sorting