mirror of
https://github.com/hkalexling/Mango.git
synced 2026-03-20 00:00:48 -04:00
Add a helper function to combine the two steps of filenames sorting
(splitting and comparing)
This commit is contained in:
@@ -65,3 +65,7 @@ def compare_alphanumerically(c, d)
|
||||
end
|
||||
is_c_bigger
|
||||
end
|
||||
|
||||
def compare_alphanumerically(a : String, b : String)
|
||||
compare_alphanumerically split_by_alphanumeric(a), split_by_alphanumeric(b)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user