Sorts an input document file by the existing keys then
consecutively renumbers document file keys while moving
the original key to the first register column of the doc file.
All existing registers of the input document file are also
moved over one column. Useful for making selection file
from a non-continuous key listing.
Example.