How to deselect a row in a multiple selection browse based on the row number in the browse.

DESELECT-SELECTED-ROW(n) deselects the nth selected row.

Ex:

In my browse, i am selecting the 2nd, 3rd and 1st row in order. When I try DESELECT-SELECTED-ROW(2), it deselects my 3rd row and not my 2nd row.

I want to deselect my 2nd row in the browse, what ever the order, in which I have made the selection.

Please help.