String To Xml In Python How To Sort