lorder helps set up the correct ordering of files in an archive. 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.