human
Sort a list of strings based on regular expression match or something similar
assistant
Here is some code to sort list `strings` in alphabetical order based on the letter after percent character `%` in each element

strings.sort(key=lambda str: re.sub('.*%(.).*', '\\1', str))

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.