# Functions
TripleSort performs a three-way sort (processing, toSort, sorted) to resolve dependencies and return a sorted list.
# Type aliases
GetBeforeItems is a function type that returns a list of items that must appear before the given current item in the sorting order.