asuc-octo / berkeley-mobile-android

The danker-than-iOS Berkeley Mobile app [Outdated]
Other
10 stars 3 forks source link

Add Multi-Level Comparator Framework #106

Closed DerrickLi closed 5 years ago

DerrickLi commented 5 years ago

Right now Collections.sort only sorts on one level of Comparator (so consecutive sorts will not take into account previous ordering). I've implemented a workaround for now, but at some point we should either create a custom multi-level Comparator class, or add Java 8 to the project so that we can use the .thenComparing() subsorting method.

DerrickLi commented 5 years ago

I'm just gonna close this for now cause it's not really a priority unless anyone thinks otherwise