A little more progress.
I may be able to switch all of the data sorting logic into SQL to avoid needing Java 8. I'm not going back to the old Java 7- insanity of 50 for loops just to filter through data.