6. A mail sorting system, comprising: a postal code table indicating a sort scheme for each of a plurality of postal code ranges, the sort scheme including a pass number indicating during which of two passes documents within each postal code range will be passed through an envelope sorter; a document parameter table comprising information for determining boundaries of each of a plurality of documents to be printed within an unsorted print stream received from a data source and for determining a location of a postal code in each document; an index table incorporating information from the postal code table in response to scanning the unsorted document print stream, the index table having entries indicating the location of each document in the unsorted document print stream and its scheme; a reordered index table wherein the entries in the index table are ordered according to the scheme of each document in the unsorted document print stream; a print stream module to generate a sorted document print stream as an output file in accordance with the reordered index table, whereby the documents are arranged in the sorted document print stream in order of their respective sort schemes, after which the documents are printed and separated into either a pass 1 bin for documents having a sort scheme with a first pass number or a pass 2 bin for documents having a sort scheme with a second pass number; and a sorting machine to sort the documents in the pass 1 bin for deposit into first mailing trays to be presented to the post office and, upon completion of the sorting of the pass 1 bin, to sort the documents in the pass 2 bin for deposit into second mailing trays to be presented to the post office.
9. The system of claim 6 , wherein the scheme further includes a group number.