Orientational melting in a mesoscopic system of charged particles