Fix: SortedPairs seems to copy the members it iterates over. In this cas...

Fix: SortedPairs seems to copy the members it iterates over. In this case, copying item.data, meaning that it item.data can't be edited inside item.functions.X on the Client only.

Implemented a custom version of SortedPairs (nut.util.SortedPairs) that solves this issue, but is otherwise identical.

Workarounds involve accessing the item directly through self.GetInventory() and equivalent.