I want to use the sort option provided by data view web part and provide SortField as query string parameter. After thinking for a while and providing multiple hit and trials I have succeeded. Below is the expression for sorting using query string.
@*[name()= $SortField]
We write this in the edit sort expression.
And in the URL….
http://ServerName/Lists/Deals/LOB.aspx?LOB=All&SortField=Deal_x0020_Date

