I'm building a data form which contains a collection field, and I've added some UI Action buttons to move items up and down in the collection.
But this is where I'm stuck, I have no idea what to do in the UI Model. This is as far as I've gotten

Private Sub _btnmoveup_InvokeAction(sender As Object, e As InvokeActionEventArgs) Handles _btnmoveup.InvokeAction
End Sub
Private Sub _btnmovedown_InvokeAction(sender As Object, e As InvokeActionEventArgs) Handles _btnmovedown.InvokeAction
End Sub
Not having much luck finding example code.