jqxSortable plugin allows you to re-arrange html elements. TypeScript example.