Added sorting to queries to ensure consistent results in the tests.
Bumped version to 0.2.0-alpha.4.