Given an ordered alphabet $\Sigma$, denote $Sort(w)$ the word obtained from $w$ when ordering the characters of $w$ ascending. For a language $L$, define $Sort(L):=\{Sort(w) | w \in L \}$.
Let $L$ be a regular language over $\Sigma:=\{1,2,3\}$. is $Sort(L)$ context-free?
I understand why it is important that $|\Sigma| \leq 2$ (otherwise, we can construct a counter-example using the pumping lemma), but I'm not sure about $\Sigma:=\{1,2,3\}$. Any clues?
Let $L$ be the regular language $(abc)^*$. Then $Sort(L) = \{a^nb^nc^n \mid n \geqslant 0 \}$ is not context-free.