# Topological Sort: A stepwise implementation

**URL:** <https://alloytools.discourse.group/t/topological-sort-a-stepwise-implementation/395>\
**Category:** Alloy 6\
**Created:** [August 21, 2023, 4:13pm UTC](https://alloytools.discourse.group/t/topological-sort-a-stepwise-implementation/395 "2023-08-21T16:13:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MATIX](https://avatars.discourse-cdn.com/v4/letter/m/bc79bd/32.png) [@MATIX](https://alloytools.discourse.group/u/MATIX)\
**Post date:** [August 21, 2023, 4:13pm UTC](https://alloytools.discourse.group/t/topological-sort-a-stepwise-implementation/395/1 "2023-08-21T16:13:28Z")

</div>

Hi everyone,

I would like to share my solution for implementing [topological sorting](https://github.com/MATIX-digital/Alloy_TopologicalSort) of a graph in Alloy. Any suggestions would be appreciated.

I am using my LinkedList implementation that you can check out [here](https://alloytools.discourse.group/t/linkedlist-module-for-temporal-logic/393).
