mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Add a helper function to combine the two steps of filenames sorting
(splitting and comparing)
This commit is contained in:
parent
c4ffb5cd59
commit
01216d806c
@ -65,3 +65,7 @@ def compare_alphanumerically(c, d)
|
|||||||
end
|
end
|
||||||
is_c_bigger
|
is_c_bigger
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def compare_alphanumerically(a : String, b : String)
|
||||||
|
compare_alphanumerically split_by_alphanumeric(a), split_by_alphanumeric(b)
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user