'How to sort list elements?

I need to sort list:

["3B", "1A", "2T", "4E", "2A", "4A", "1B", "10E"]

to

["1B", "1A", "2T", "2A", "3B", "4E", "4A", "10E"]

Letters taken form 'BETA'

I tried to use list sort() function, but it not worked in this situation.

Is it possible to make it happen? in for loops?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source