Sort DataTable – show selected rows first

I am using the table-plugin for jQuery DataTables to display a HTML-Table. In addition I am using the Select-Plugin which allows to (multi)select table rows. As a user select a row, the class “selected” is added to the <tr> element:

<tr id="tr_1" class="odd selected">

How can I sort the rows, that the selected rows are shown first? This would improve clarity, especially with many rows or pages provided by DataTable.