Vyxal a
, 15 bytes
µ‛ch‛c~V‛ll‛l~V
Takes input as words separated by newlines, outputs a list.
Try it Online!
µ‛ch‛c~V‛ll‛l~V # Full program
µ # Sort (implicit) input by key:
V # Replace...
‛ch # `ch`...
‛c~ # with `c~`
V # Replace...
‛ll # `ll`...
‛l~ # with `l~`