while (n > 0 && infos[n-1].getTotal() < infos[n].getTotal())
Sorry I am extremely close to finishing this, and your help has definitely been appreciated.
I think your comparisons of the totals is not correct for the order you want (change the 2nd '<' to '>').
FYI, you either switch the order of elements compared or switch the comparison operator, but not both, as that just results in no change in the comparison at all.