jQuery Mobile sortable list

Does it work?

HTML

<div data-role="page" id="pages">
    <div id="header"></div>
    <div id="leftcol">
        <ul data-role="listview" data-divider-theme="b" data-inset="true">
            <li data-role="list-divider" role="heading">Re-order</li>
            <li data-theme="c">1</li>
            <li data-theme="c">2</li>
            <li data-theme="c">3</li>
            <li data-theme="c">4</li>
            <li data-theme="c">5</li>
            <li data-theme="c">6</li>
            <li data-theme="c">7</li>
        </ul>
    </div>
    <div id="content">
        <ul data-role="listview" data-divider-theme="b" data-inset="true">
            <li data-role="list-divider" role="heading">Re-order</li>
            <li data-theme="c">1</li>
            <li data-theme="c">2</li>
            <li data-theme="c">3</li>
            <li data-theme="c">4</li>
            <li data-theme="c">5</li>
            <li data-theme="c">6</li>
            <li data-theme="c">7</li>
        </ul>
    </div>
    <div id="footer">Footer</div>
</div>

JavaScript

$(document).bind("mobileinit", function(){
    $.mobile.page.prototype.options.addBackBtn = true;
    $.mobile.touchOverflowEnabled = true;
    $.mobile.page.prototype.options.headerTheme = "c";
    $.mobile.page.prototype.options.backBtnTheme = "c"; 
    $.mobile.listview.prototype.options.headerTheme = "c";
    $.mobile.listview.prototype.options.theme = "c";
    $.mobile.listview.prototype.options.dividerTheme = "c";
    $.mobile.listview.prototype.options.splitTheme = "c";
    $.mobile.listview.prototype.options.countTheme = "c";
    $.mobile.listview.prototype.options.filterTheme = "c";
});

$leftMenu = $('<a id="leftMenu" href="#leftcol" data-role="button" data-mini="true" data-inline="true" data-icon="home" data-theme="c">Menu</a>');
$textHeader = $('<h1>'+$(document).attr('title')+'</h1>')
$('#header').prepend($leftMenu,$textHeader);

$('#header').attr({"data-role":"header", "data-theme":"c", "data-position":"fixed", "class":"ui-bar"});
$('#footer').attr({"data-role":"footer", "data-theme":"c", "data-position":"fixed", "class":"ui-bar"});
$('#leftcol').attr({"data-role":"panel", "data-display":"push", "style": "z-index: 9999;"});
$('a').attr({"data-ajax": "false"});
$('#content').attr({"data-role":"content"});

$( document ).on( "pageinit", "#pages", function() {
$( document ).on( "swipeleft swiperight", "#pages", function( e ) {
        // We check if there is no open panel on the page because otherwise
        // a swipe to close the left panel would also open the right panel (and v.v.).
        // We do this by checking the data that the framework stores on the page element (panel: open).
        if ( $.mobile.activePage.jqmData( "panel" ) !== "open" ) {
            if ( e.type === "swipeleft"  ) {
                $( "#rightcol" ).panel( "open" );
            } else if ( e.type === "swiperight" ) {
                $( "#leftcol" ).panel( "open" );
            }
        }
    });
});