My code below sorts the struct in alphabetical order. However I would like code the code to be sort in alphabetical order first then by descending int order. For example joe, 3; joe 4.
I think you have “ascending” and “descending” backwards in your mind. This is the 3rd or 4th post I’ve seen from you where you say you want descending, but then you show ascending. Having the smaller number before the bigger number means it’s ascending order.