Inspiration
I haven't really coded much in Java before so for this challenge I thought it was best to explore Java!
What it does
It sorts a pre-defined list of fruits alphabetically (in ascending and descending order) and later, according to the year of expiry.
What's next for Sorting a list in Java
Sorting it according to the date format dd-mm-yy.

Log in or sign up for Devpost to join the conversation.