It outputs a list of filenames where the first file contains a symbol which is defined by the second file (which can then be sorted by tsort). This lorder is the script included with NetBSD. I packaged this last October 2003.