A.F....... [ZBX-8196] rewritten profile sort and sortorder fields handling
..F....... [ZBX-8375] fixed JS confirmation message not being properly encoded