adding ability to select ordered/unordered file output; changing to use unsorted
output by default