Insert DB sorting function.
Rendered hook function for sorting.
Added jqueryui and sortable.
Edit sort stop function and CSS.
Merge branch 'sort'