Mahjong sort puzzle