Makes collection have a default sort function to sort by id. Makes mixin.storage work by url of resource.