ISSUE-169 Sort topics (#172)
This commit is contained in:
parent
1d60db44df
commit
481c321d06
1 changed files with 1 additions and 0 deletions
|
@ -68,6 +68,7 @@ public class ClusterService {
|
|||
.map(c ->
|
||||
c.getTopics().values().stream()
|
||||
.map(clusterMapper::toTopic)
|
||||
.sorted(Comparator.comparing(Topic::getName))
|
||||
.collect(Collectors.toList())
|
||||
).orElse(Collections.emptyList());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue