Added sorted data to correct issue with duplicate product sub-categories...

.... Perhaps I should use a TreeSet instead of a list. I also added a rudimentary time/memory recorder thingy. It could be used to plot time vs memory.