OK, to get the elephant out of the room, this microgame is based on unused and unfinished minigame in Adventures in Ponyville, "Fluttershy's Mish Mash" The microgame would play like animals would be up on the top of the screen.You have to drag one animal onto the stumps in the right order.
Credit goes to @thinkingwithshifting