public void VerifySortbyWorks()
        {
            try
            {
                test = extent.CreateTest("VerifySortbyWorks").Info("Test Started");
                AssetSummaryPage funds = new AssetSummaryPage(BaseTest.driver);
                funds.SelectFundsFromDropdwon();
                funds.ClickAssetSummary();
                //Verify Sort By for Fund A
                funds.ClickOptionsInSortBy();
                //Verify descending works as expected
                Boolean desc = funds.SelectDescending();
                Assert.True(desc == true, "Descending does not work");
                Thread.Sleep(3000);
                //Verify Ascending works as expected
                Boolean Asc = funds.SelectAscending();
                Assert.True(Asc == true, "Ascending does not work");

                //Verify sort by works for Fund B
                funds.ClickFundBTab();
                driver.Navigate().Refresh();
                funds.ClickAssetSummary();
                funds.ClickOptionsInSortBy();
                Boolean desc1 = funds.SelectDescending();
                Assert.True(desc1 == true, "Descending does not work");
                Boolean Asc1 = funds.SelectAscending();
                Assert.True(Asc1 == true, "Ascending does not work");
                test.Log(Status.Pass, "Test Case passed");
            }
            catch (Exception e)
            {
                test.Log(Status.Fail, "Test Case Failed");
                baseTest.TakeScreenshot();
                Console.WriteLine(e.StackTrace);
            }
        }