Skip to content

Commit 0424e99

Browse files
committed
fix sorting order
1 parent 3fb9387 commit 0424e99

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/fi/fabianadrian/playerlist/list/sorting

1 file changed

+1
-1
lines changed

src/main/java/fi/fabianadrian/playerlist/list/sorting/Sorter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public SortingOrder order() {
2323
}
2424

2525
public Comparator<Player> comparator() {
26-
if (this.order == SortingOrder.ASCENDING || comparator == null) {
26+
if (this.order == SortingOrder.DESCENDING || comparator == null) {
2727
return comparator;
2828
} else {
2929
return comparator.reversed();

0 commit comments

Comments
 (0)