Fixes: (1) Classes weren't listed if reserves were on the same line, (2) Classes were listed in revers order. They now appear in the correct order.

Fixes:
(1) Classes weren't listed if reserves were on the same line.

(2) Classes were listed in revers order. They now appear in the correct
order.