Sort sets to mimic behaviour of DynamoDB

Hi,

DynamoDB is sorting sets automatically under the hood. In order to reproduce that behaviour, I am sorting values of that type. You can reproduce that behaviour easily when storing data in an actual DynamoDB.