Reordercap allows to reorder a capture file according to the packets timestamp.
Example D.11. Help information available from reordercap
Reordercap 1.12.0
Reorder timestamps of input file frames into output file.
See http://www.wireshark.org for more information.
Usage: reordercap [options] <infile> <outfile>
Options:
-n don't write to output file if the input file is ordered.
-h display this help and exit.