order CSV by first line; optionally specify fields