This is pretty much what I've been looking for...
Something seemed redundant, and I assumed it to be
%departments, but you're right;
@classes is not really needed.
And ++ on the
sort. I forgot to sort my keys, since it showed up fine when I was testing, but that was due too a not large enough dataset :-)
Thanks.
Not that it means anything of course, since any improvement I get here means a speed increase of thousandths of a second (guessing), but I was curious....
[ar0n]