I have a class set up to take in an item name, weight, and cost. I want to be able to sort the output different ways. Bubble sort the weight, Selection Sort by name, and Insertion sort by cost. I have no idea where to go now and I could use some help with this.
also I should note that I changed the class a little bit since OP
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
//Class to hold inventory variables/funcitons
//Placing these here to see if method will work//