You're right: $\sigma(2)=5$ (when read left-to-right).
You don't just stop there, although that's it for how $\sigma$ behaves on $2$. The next number to consider is indeed $5$.
Once you hit a number you've considered before, move on to the next number you have not (if there be such).
You should get $$\sigma=(1253)(467).$$