Completely re-write the sortable logic to work with the older version of jQuery UI.
Add class styling to the generated code blocks.