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
In java8 you can do something like this:
temp.stream() .sorted((e1, e2) -> Integer.compare(e2, e1)) .forEach(e -> System.out.println(e));