Object.sort

Sort object by keys. Can pass custom sorting function.