Pythonで、説明した方法で文字列のリストをソートするコードを紹介しよう。

```
#define the list of strings to be sorted by their letter sum
ListOfStrings = ["hello world","this is a test","these are strings","water isnt always blue","apples are fruits"]

#define the function to get the character's position in the alphabet 
def char_position(character):
    #the "ord" function returns the Unicode character's value 
    return ord(character) - 96 #lowercase 'a' has a value of 97. letters in the Unicode character set are in ascending order.

# define our sorting key function 
def stringsum(instr):
     #make function case insensitive
     lower_string = instr.lower()
     #variable to store the sum
     SumVar = 0
     # Iterate over the string
     for element in lower_string:
          SumVar+=char_position(element)
     return SumVar

#use the "sorted" function to sort the list
print(sorted(ListOfStrings,key=stringsum))
```
Sure here is some code in Python that can sort a list of strings using the method discribed.

'
#define the list of strings to be sorted by their letter sum
ListOfStrings = ["hello world","this is a test","these are strings","water isnt always blue","apples are fruits"]

#define the function to get the character's position in the alphabet 
def char_position(character):
    #the "ord" function returns the Unicode character's value 
    return ord(character) - 96 #lowercase 'a' has a value of 97. letters in the Unicode character set are in ascending order.

# define our sorting key function 
def stringsum(instr):
     #make function case insensitive
     lower_string = instr.lower()
     #variable to store the sum
     SumVar = 0
     # Iterate over the string
     for element in lower_string:
          SumVar+=char_position(element)
     return SumVar

#use the "sorted" function to sort the list
print(sorted(ListOfStrings,key=stringsum))
'