static bool SortItems(const LPITEM& s1, const LPITEM& s2)
{
std::string name(s1->GetName());
std::string name2(s2->GetName());
return name < name2;
}
void CHARACTER::SortInventoryItems()
{
if (IsDead() || GetExchange() || GetMyShop() || GetShopOwner() || IsOpenSafebox() ||...