Portal Sort Script
I am having trouble sorting a portal.
1) I want to have a script button on a record.
2) When I click the button I want to be able to see the portal change it's sort order. There would be a pause script step next.
3) When the script is continued the portal reverts back to the way it was before clicking the script button.
I have tried scripting to go to the first portal row and then doing a sort records but that doesn't seem to do the trick. Any advice would be greatly appreciated.