Added a test verifies that sorting by multiple fields work.