Avatars of players that are inactive for more than 6 month will get reused and sent back to shop. The initial owners will get the credit refunded. Same thing will happen with avatars of players that get permanent ban or deleted for longer inactivity. A lot of such avatars (generation 1 and 2) were already sent to the shop to be picked
by other players, including some ancient gold avatars. The older avatars will show up only after the newer ones. Gold avatars will always show up first if you have gold avy option unlocked in the shop.