in reply to Shuffle flat file
Can you provide a small code snippet that you've tried already? I'm not sure what you mean by "shuffle the file based on the first field", and it's tough to guess what kind of output you want.