how do I code a pytho script that sorts a list acording to the value of a string. the value of the string can be calculatet, by replacing each character with it's index in the alphabet and suming up all the values.
spam lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor creativity violence