Data Grid Table with columns for sorting and collapsing a data row

Data Grid Table with columns for sorting and collapsing a data row

Hallo Everyone,
Is it possible to have a grid or perhaps a table in JQM which when you click on the column title in can sort records in either ascending or descending. Also in the same table is there a possibility of collapsing a row in order to display more detailed information. 

Anyone with an idea of how the two features can be tackled or has a link to some useful content kindly send them


Thank you alot.