public static String reorderModifiers(String text) throws FormatterException {
  return reorderModifiers(text,Collections.singleton(Range.closedOpen(0,text.length())));
}

public static String reorderModifiers ( String text ) throws FormatterException { return reorderModifiers ( text , Collections . singleton ( Range . closedOpen ( 0 , text . length ( ) ) ) ) ; }
reorders all modifiers in the given text to be in jls order .
