Hey guys, can you help me out with this program I'm writing. I'm supposed to type in a specific data of books (which I have as a txt file and I redirect). The program is supposed to sort the books by price and alphabetical order. I got it down with price, but I can't seem to figure out how to do it in alphabetical order. I looked it up, but there's a few different methods to do it, and I'm completely confused with them. Here's my code so far.
sorry for the confusion, it would output a list of the books sorted out by price, and a list sorted out in alphabetical order (by the name of the book). The way it's sorted about by price right now is from least to greatest