<div id="comment:0"></div> We avoid sorting vertices, edges and connected components. The code is better this way, and this fixes a doctest error with py3. CC: @tscrim @fchapoton Component: **graph theory** Author: **David Coudert** Branch/Commit: **[`f830eb9`](https://github.com/sagemath/sagetrac-mirror/commit/f830eb94a953905c3b6e6540e46e2319fb8a3e41)** Reviewer: **Travis Scrimshaw** _Issue created by migration from https://trac.sagemath.org/ticket/27009_