Row position after table sort

How to find row position after table sort? Datagrid is binded to ds1.sometable. I have DataRow object or DataRowView from cm.Current and position before sort (cm.position or dg.CurrentRowIndex) but how to find where is its position to navigate DataGrid to select row after I re-sort datagrid? I can't use dv.find method or any other find method because datagrid (and dataview) is sorted by column with lots of same strings.
[425 byte] By [Gosovic] at [2008-2-22]
# 1

It's stupid but it works!
You must have one column with unique value (ID in my example)

Dim cm As CurrencyManager = CType(BindingContext(Ds1.TableName), CurrencyManager)
Dim drv As DataRowView = cm.Current

... re-sort ...

Dim Position As Integer = -1
Dim i As Integer
For i = 0 To Ds1.TableName.DefaultView.Table.Rows.Count - 1
If Ds1.TableName.DefaultView(i).Item("ID") = drv.Item("ID") Then
Position = i
Exit For
End If
Next

dg.UnSelect(dg.CurrentRowIndex)
cm.Position = Position

Gosovic at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic Language...