@JvmStatic fun topologicalSort(transactions: Collection<SignedTransaction>): List<SignedTransaction>
Topologically sorts the given transactions such that dependencies are listed before dependers.