{"name":"tvSortByValueAll","title":"tvSortByValueAll","type":"command","url":"https://community.bistudio.com/wiki/tvSortByValueAll","revid":378327,"updated":"2026-04-02T16:30:32Z","groups":["GUI Control - Tree View"],"status":"ok","games":{"arma3":"2.02"},"since":"arma3 2.02","arma3_since":"2.02","description":"Sorts all children, including trees deriving from given path. Value of Tree View entries is used for sorting.","syntaxes":[{"syntax":"control tvSortByValueAll [path, reversed]","params":[{"name":"control","type":"Control","type_expr":"Control"},{"name":"path","type":"Tree View Path","description":"path to start sorting from","type_expr":"Tree View Path"},{"name":"reversed","type":"Boolean","description":"true to reverse sort it.","type_expr":"Boolean"}],"returns":{"type":"Nothing","type_expr":"Nothing"},"form":"binary","left":{"text":"control"},"right":{"text":"[path, reversed]"}}],"examples":[{"code":["_ctrl tvSortByValueAll [[], false]; // Sorts the complete Tree View"]}],"see_also":["tvSort","tvSortByValue","tvSortAll"]}