public static void includeMatchingGroups(List<? super Group> holders, Predicate<? super Group> filter, LuckPermsPlugin plugin) {
        plugin.getGroupManager().getAll().values().stream()
                .filter(filter)
                .sorted(Comparator
                        .<Group>comparingInt(g -> g.getWeight().orElse(0)).reversed()
                        .thenComparing(Group::getName, String.CASE_INSENSITIVE_ORDER)
                )
                .forEach(holders::add);
    }
Generates a web editor request payload.

@param holders the holders to edit
@param tracks the tracks to edit
@param sender the sender who is creating the session
@param cmdLabel the command label used by LuckPerms
@param plugin the plugin
@return a payload
common/src/main/java/me/lucko/luckperms/common/webeditor/WebEditorRequest.java