@@ -0,0 +1,1511 @@
+package ru.stqa.selenium.example;%0A%0Aimport org.junit.Test;%0Aimport org.openqa.selenium.By;%0Aimport org.openqa.selenium.WebElement;%0A%0Aimport java.util.List;%0A%0Apublic class Countries extends TestBase%7B%0A%0A    @Test%0A    public void sortCountries() %7B%0A        driver.get(%22http://localhost/litecart/admin/?app=countries&doc=countries%22);%0A%0A        driver.findElement(By.name(%22username%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22password%22)).sendKeys(%22admin%22);%0A        driver.findElement(By.name(%22login%22)).click();%0A%0A        WebElement table = driver.findElement(By.className(%22dataTable%22));%0A        List%3CWebElement%3E countries = table.findElements(By.cssSelector(%22tr.row td:nth-child(5)%22));%0A%0A        int numOfCountries = countries.size();%0A        int tmp = 1;%0A%0A        System.out.println(numOfCountries);%0A        for (int i = 1; i %3C numOfCountries; i++) %7B%0A            // %D0%95%D1%81%D0%BB%D0%B8 %D0%BF%D1%80%D0%B5%D0%B4%D1%8B%D0%B4%D1%83%D1%89%D0%B0%D1%8F %D1%81%D1%82%D1%80%D0%B0%D0%BD%D0%B0 %D0%BB%D0%B5%D0%BA%D1%81%D0%B8%D0%BA%D0%BE%D0%B3%D1%80%D0%B0%D1%84%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8 %D0%BC%D0%B5%D0%BD%D1%8C%D1%88%D0%B5 %D1%82%D0%B5%D0%BA%D1%83%D1%89%D0%B5%D0%B9, %D1%82%D0%BE %D1%81%D0%BE%D1%80%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%BA%D0%B0 %D0%B2 %D0%B0%D0%BB%D1%84%D0%B0%D0%B2%D0%B8%D1%82%D0%BD%D0%BE%D0%BC %D0%BF%D0%BE%D1%80%D1%8F%D0%B4%D0%BA%D0%B5%0A            if (countries.get(i-1).getText().compareTo(countries.get(i).getText()) %3C 0) %7B%0A                System.out.println(countries.get(i-1).getText()+%22 %3C %22+countries.get(i).getText());%0A                tmp++;%0A            %7D%0A        %7D%0A%0A        // %D0%95%D1%81%D0%BB%D0%B8 tmp %D1%80%D0%B0%D0%B2%D0%B5%D0%BD %D0%BA%D0%BE%D0%BB%D0%B8%D1%87%D0%B5%D1%81%D1%82%D0%B2%D1%83 %D1%81%D1%82%D1%80%D0%B0%D0%BD, %D1%82%D0%BE %D0%B2%D1%81%D0%B5 %D1%81%D1%82%D1%80%D0%B0%D0%BD%D1%8B %D0%BE%D1%82%D1%81%D0%BE%D1%80%D1%82%D0%B8%D1%80%D0%BE%D0%B2%D0%B0%D0%BD%D1%8B %D0%B2 %D0%B0%D0%BB%D1%84%D0%B0%D0%B2%D1%82%D0%BD%D0%BE%D0%BC %D0%BF%D0%BE%D1%80%D1%8F%D0%B4%D0%BA%D0%B5%0A        if (tmp == 238)%7B%0A            System.out.println(%22Countries are arranged in alphabetical order%22);%0A        %7D%0A        else %7B%0A            System.out.println(%22Countries are not in alphabetical order%22);%0A        %7D%0A%0A    %7D%0A%7D%0A

Add new file for the task 9. Done the task 9(a)