swagger2markup/src/main/java/io/github/swagger2markup/internal/utils/RegexUtils.java
/**
     * Alphabetically sort the list of groups
     *
     * @param groups List of available groups
     * @return String[] of sorted groups
     */
Alphabetically sort the list of groups
@param groups List of available groups
@return String[] of sorted groups
Alphabetically sort the list of groups @param groups List of available groups @return String [] of sorted groups
public static String[] toSortedArray(Set<String> groups) {
        String[] sortedArray = groups.toArray(new String[groups.size()]);
        Arrays.sort(sortedArray);
        return sortedArray;
    }
public static String [ ] toSortedArray ( Set < String > groups ) { String [ ] sortedArray = groups . toArray ( new String [ groups . size ( ) ] ) ; Arrays . sort ( sortedArray ) ; return sortedArray ; }
Alphabetically sort the list of groups
 @param groups List of available groups
 @return String[] of sorted groups
Alphabetically sort the list of groups @param groups List of available groups @return String [] of sorted groups
//TODO: sort in another way than just alphabetically