Taylor Swift has been awarded a five-year restraining order against her knife-wielding stalker Julius Sandrock.