mirror of
https://github.com/Shopify/liquid.git
synced 2026-09-16 09:20:42 -07:00
Added test coverage for sort_natural
This commit is contained in:
@@ -151,7 +151,7 @@ module Liquid
|
||||
a = a[property]
|
||||
b = b[property]
|
||||
if a && b
|
||||
a[property].to_s.casecmp(b[property].to_s)
|
||||
a.to_s.casecmp(b.to_s)
|
||||
else
|
||||
a ? -1 : 1
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user