Reformatted listfields to sort alphabetically and print fields delimited by newlines