Fill an empty tissue box with socks and demonstrate for your infant/toddler how to pull the socks from the box and then let them try on their own.
Old/mismatched socks have a variety of uses: you can put them in a pile, put on your hand, sort by color or texture, or create a puppet