I may not be the right person to advise you on IWP, but allow me to suggest the reading of the Help on script triggers and in particular the following note:••In Instant Web Publishing and Custom Web Publishing, script triggers can only be activated by a script and not by direct user interaction. For example, if a user tabs into a field that has an OnObjectEnter script trigger, the trigger will not activate. If a script step causes focus to move into that field, the script trigger will activate.
On the other hand, the scriptmaker has a drop down field on the bottom left corner that allows to select the type of script steps available and not available for each of the, let's say, platforms = IWP, Server and Client.
Also, some scripts may not work for users that do not have full access privileges.
It seems that you have many issues. It would be helpful if you could isolate them and be more specific about each one.
Sorting records with the default dialog box isn't supported in IWP.
When you're editing a script, go down to the bottom left, and under Show Compatibility select Web Publishing.
When you have a script step of Sort Records you'll see it shows 'NOT COMPATIBLE' unless 'Perform without dialog' is checked.