Cache the sorted values in the deck

When getting sorted items from a deck, those results should be cached.
They do not need to be re-sorted if nothing has changed, as sorting
is a very resource intensive task.
Speed up methodizing & unmethodizing functions

But also slow them down again because the function properties are now hidden