/usr/ccs/bin/tsort
[file]Perform a topological sort on file. Typically used with lorder to reorganize an archive library for more efficient handling by ar or ld. Not very useful. See also lorder.
Find the ordering relationship of all object files, and sort them for access by ld:
ld -o myprog `lorder *.o | tsort`