ninja sort

From their README

Ninja Sort

an Alfred workflow to sort text.

This workflow is a tool to sort paragraphs of a selected text alphabetically.

Download the workflow file and double click it, Alfred will take it from there.

Download link: Alfred-Sort.alfredworkflow

Select text and use the hotkey.

pre_sort sorted