Callback KeyCompareForCollection.

Allows user to set the key comparison function for each collection
when a Store is reloaded from disk.