@Override
    String generateReplacementText(@NotNull SortableList list, @NotNull PsiArrayInitializerExpression elementToSort) {
      StringBuilder sb = new StringBuilder();
      boolean eolRequired = list.generate(sb);
      if (eolRequired) {
        sb.append("\n");
      }
      sb.append("}");
      return sb.toString();
    }
@Override
    String generateReplacementText(@NotNull SortableList list, @NotNull PsiArrayInitializerExpression elementToSort)