settle replaying codes
log sorting time and replay time
insert sorting
shell sorting