Add test for sort hashes with empty property

Ensure the bug https://github.com/jekyll/jekyll/pull/2287 is not in Liquid.