private void fillList(@NotNull List<String> patterns) {
    myModel.clear();
    myModel.addAll(patterns.stream().sorted().collect(Collectors.toList()));
  }
private void fillList(@NotNull List<String> patterns)