Skip to content

Commit 67c1859

Browse files
committed
String values are sorted after integer values.
1 parent e67d759 commit 67c1859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tags.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ def inner(x):
164164
if not num == -math.inf:
165165
return (1,num)
166166
else:
167-
return (1,i[pars["sort"][-1]])
167+
return (2,i[pars["sort"][-1]])
168168
return (0,x)
169169
return inner
170170

@@ -235,7 +235,7 @@ def inner(x):
235235
if not num == -math.inf:
236236
return (1,num)
237237
else:
238-
return (1,i[argString])
238+
return (2,i[argString])
239239
return (0,x)
240240
return inner
241241

0 commit comments

Comments
 (0)