An n log n Algorithm to Distribute n Records Optimally in a Sequential Access File