Sort change log by change type.