Brandon Sargeant stared down the barrel of a heart-breaking loss before regaining his composure to see off Ali Carter.