Sort List of Strings by having a character Flutter
I have a List of strings ["pana", "open","peno","alp","palp"] and i need to sort them by having the letter "p", then alphabetically: so the result should be ["pana", "palp","peno", "open","alp"] How can i do this in Flutter