Add jQuery UI to gemfile
Reference jQuery UI in application JS file
Flash JS file has helper methods for wrapping strings as messages
Sortable list views with data attributes

The data attributes specify the endpoint for sorting and the persisted
ID of each item. This is for use with reordering the items.
Sortable JS functions defined
Configure sortability of the pretty list items
Define route for reordering pretty list items