static JavaInput reorderModifiers(String text) throws FormatterException {
    return reorderModifiers(
        new JavaInput(text), ImmutableList.of(Range.closedOpen(0, text.length())));
  }
@Test
  public void sealedClass() throws FormatterException {
    assume().that(Runtime.version().feature()).isAtLeast(16);
    assertThat(ModifierOrderer.reorderModifiers("non-sealed sealed public").getText())
        .isEqualTo("public sealed non-sealed");
  }