fix(Core/Vendors): Load npc_vendor items in the right order (#3099)
fix(Core/Vendors): Load npc_vendor items in the right order (#3099)

* fix(Core/Vendors): Load npc_vendor items in the right order

Before that commit, if you copied a npc_vendor, the order would not be replicated (if all items were on the same `slot`). Now it works fine and it's consistent.

* Update ObjectMgr.cpp

* fix(sql): ASC position in the query

* Update ObjectMgr.cpp

Co-authored-by: Stefano Borzì <8493b96099859a344ed508187bf32ad62dad99af@gmail.com>
Co-authored-by: Francesco Borzì <38deeb4eb7d6f10166dedad60a8d646aa821503f@gmail.com>
Co-authored-by: Kitzunu <5173267a848a26099be39db692b403e0b762ef89@users.noreply.github.com>
azerothcore/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Helias/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Helias/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,Helias/azerothcore-wotlk,azerothcore/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Helias/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Helias/azerothcore-wotlk,mygithome002/azerothcore-wotlk,mygithome002/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,mygithome002/azerothcore-wotlk,Nefertumm/azerothcore-wotlk,jokerlfm/azerothcore-wotlk,azerothcore/azerothcore-wotlk,Helias/azerothcore-wotlk,ShinDarth/azerothcore-wotlk,ShinDarth/azerothcore-wotlk