Added unit test for testing initial sort order