Removed the use of gnu_cxx::is_sorted from Boost.Graph as it's lolnonportable, implemented a version of the algorithm as a replacement,