Add missing include of parallel_sort
runtime::order_before: Link all sources to all sinks

Since we do not consider the order between phases,
we need to avoid linking a phase to a non-final phase.

It would be nice if we just linked to all the final phases.
Pipelining runtime: Ensure that the node map is authoritative