Added sort to findOptions for test cases