So I am trying to sort an array using compareTo.
This is what i have now:
@Override
public int compareTo(Episode other) {
return Integer.compare(episodeNummer, other.episodeNummer);
}
I am now sorting only by episodenumber, but I am trying to also sort the list by season.