Australia was edging towards a 2-0 series sweep over Sri Lanka after Alex Carey's breathtaking century moved the visitors into a formidable position in the second test on Saturday.