Barty guaranteed year-end No.1 ranking