Probably you can copy the records from the original file in reverse order into another sequential file and then continue with your processing as described above