COLOMBO, Aug 21 (Reuters) - Sri Lankan shares ended firmer on Friday on hopes of political stability after Ranil Wickremesinghe was sworn in as the new prime minister, and formed an alliance with President Maithripala Sirisena's party to push ahead reforms.