So I am not sure why this is becoming so hard for me, but I need to sort high to low and low to high.
For high to low I have:
int a, b; int temp; int
You need a more efficient sort. like mergesort. try www.geekviewpoint.com and go to sort