add minmax initializer_list version