Not sure how feasible this is, but maybe try and locate an old sales cabinet? It would have to be quite large though.
Before he moved into an old folks home, my grandfather displayed his prodigious hat collection on an accordion style hat rack. It looked like a larger version of an extendable baby gate, but with pegs sticking out for the hats. If they have hilts, you could probably lean them diagonally.