Sort A String Of Lines In Python

This is how to sort a string with lines of text in python

#+RESULTS: : ['a', 'b', 'c', 'd', 'e']

The `filter()` removes empty lines