A tool for shuffling log entries

This tool can be used to read a log file and shuffle the entries.
It still guarantee that the commits are ordered wrt transaction id.