Is that a hold-over from Byzantium/Eastern-Roman-Empire, kept after the Turkish conquest? They were all about elaborate hierarchies of ranks and titles, often expressed through big hats or helmets.
Neat idea, but I'd bet it was a completely native decision, maybe forced on some poor naval architect by a grandee who didn't understand the implications of the order. Then again, there's no proof one way or another.