Sorting example for the Sorcerer's Cave:

You may use many of these code snippets in your own work, BUT you may not copy anyone else's (including my) work and submit as your own.
I will be extremely unhappy if I find that you are submitting someone else's work as your own.


JavaFX Notes by me:

Cave Project

Your code should, of course, handle all the fields specified in the Data File Format page!

example - initial state:

Sort treasures by trx (small to large):

Sort treasures by try:

After the last sort, sort by fieldB (creature) (fixed a typo: Feb 6):