When we started working on spelling and writing my oldest daughter's name (and currently learning to recognize the letters in my middle's name), we tried an activity that we used to start the year with when I taught Kindergarten.
You also get the benefit of teaching glue skills ("a tiny dot, not a big splot" is what I tell her). Fun! (Note the slight sarcasm. Gluing can be very frustrating, so if you aren't up for it, I recommend a glue stick. Or glue in a lid and a cotton swab.)
I demonstrate first, and then let her go for it.
Write out their name as it should look on paper, twice. Cut up one of the names so they have blocks to glue. Demonstrate gluing and checking order of letters. I had her do it first without glue. Then I mixed up the letters and let her try it again. Once I saw that she had that part down, we moved on to gluing. She knows how to spell her name, but gets 2 of the letters mixed up. Gluing she loooooved, so this was fun practice for her.
For my barely 2 year old, it was a good chance to work on letter recognition and get some one-on-one instruction in another area while my oldest didn't need as much help.