human
Sort a list of strings based on regular expression match or something similar
assistant
Here is some code to sort a list of strings `strings` based on regex match

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

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