html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue
https://github.com/pydata/xarray/issues/2173#issuecomment-818809259,https://api.github.com/repos/pydata/xarray/issues/2173,818809259,MDEyOklzc3VlQ29tbWVudDgxODgwOTI1OQ==,14808389,2021-04-13T15:04:51Z,2021-04-13T15:04:51Z,MEMBER,let's continue this in #5148,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,325475880
https://github.com/pydata/xarray/issues/2173#issuecomment-618562519,https://api.github.com/repos/pydata/xarray/issues/2173,618562519,MDEyOklzc3VlQ29tbWVudDYxODU2MjUxOQ==,14808389,2020-04-23T18:12:53Z,2021-04-13T13:29:40Z,MEMBER,"This works:
```diff
diff --git a/xarray/core/utils.py b/xarray/core/utils.py
index 1126cf30..355fb552 100644
--- a/xarray/core/utils.py
+++ b/xarray/core/utils.py
@@ -453,7 +453,7 @@ class SortedKeysDict(MutableMapping[K, V]):
del self.mapping[key]
def __iter__(self) -> Iterator[K]:
- return iter(sorted(self.mapping))
+ return iter(sorted(self.mapping, key=str))
def __len__(self) -> int:
return len(self.mapping)
```
But maybe it is too naive?","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,325475880
https://github.com/pydata/xarray/issues/2173#issuecomment-618488466,https://api.github.com/repos/pydata/xarray/issues/2173,618488466,MDEyOklzc3VlQ29tbWVudDYxODQ4ODQ2Ng==,14808389,2020-04-23T16:06:32Z,2020-04-23T16:06:32Z,MEMBER,I can reproduce this on master so there's still more to do to fix this. Maybe we could try sorting using the `str` representation of the dimension names?,"{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,325475880