static Seq> loadWeightEntries(final String path) { Preconditions.checkArgument(Objects.nonNull(path) && path.endsWith("weight"), "invalid path"); final Config weight = CfgUtil.cfg.getConfig(path); final Map map = weight.root().keySet().stream().collect(Collectors.toMap(k -> k, weight::getInt)); return List.ofAll(map.entrySet().stream().map(e -> Tuple.of(e.getKey(), e.getValue()))).sortBy(t -> t._1); }