..F....... [ZBX-9013] Fix action operation ordering in form.
- Fix and simplify sortOperations() function.
- Improve CArrayHelper::sort() to keep equal items in same order as they appear in source. Previously behaviour was undefined.