Making common case first in switch