Skip to content

Commit

Permalink
Fixed sorting to reverse order
Browse files Browse the repository at this point in the history
Issue #876
  • Loading branch information
rsoika committed Sep 16, 2024
1 parent 942891a commit 0df604e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public Set<String> findAllGroups() throws ModelException {
public Set<String> findAllVersionsByGroup(String group) throws ModelException {
boolean debug = logger.isLoggable(Level.FINE);
// Sorted in reverse order
Set<String> result = new TreeSet<>(String.CASE_INSENSITIVE_ORDER);
Set<String> result = new TreeSet<>(String.CASE_INSENSITIVE_ORDER.reversed());
if (debug) {
logger.log(Level.FINEST, "......searching model versions for workflowgroup ''{0}''...", group);
}
Expand Down

0 comments on commit 0df604e

Please sign in to comment.