Sort open file list in date order
Fixed undo/redo bug in redo