Sort arrays, lists, and maps in variableViewer!
Posted: Thu Jan 22, 2026 12:25 pm
When debugging in variableViewer, arrays, lists, and maps are not sorted by name by default.
In VariableDebug.pb, the default sorting is done wiith
It is sorted by name if I change it to
But seeing the 0 written, is there a reason why arrays, lists, and maps are not sorted by name by default?
Otherwise, if needed, I am ready for a PR
In VariableDebug.pb, the default sorting is done wiith
Code: Select all
; Set default sorting values (name column, ascending)
;
*Debugger\ArraySortColumn = 0
*Debugger\ArraySortDirection = 1
*Debugger\LocalArraySortColumn = 1
*Debugger\LocalArraySortDirection = 1
*Debugger\ListSortColumn = 0
*Debugger\ListSortDirection = 1
*Debugger\LocalListSortColumn = 1
*Debugger\LocalListSortDirection = 1Code: Select all
; Set default sorting values (name column, ascending)
;
*Debugger\ArraySortColumn = 1
*Debugger\ArraySortDirection = 1
*Debugger\LocalArraySortColumn = 1
*Debugger\LocalArraySortDirection = 1
*Debugger\ListSortColumn = 1
*Debugger\ListSortDirection = 1
*Debugger\LocalListSortColumn = 1
*Debugger\LocalListSortDirection = 1
*Debugger\MapSortColumn = 1
*Debugger\MapSortDirection = 1
*Debugger\LocalMapSortColumn = 1
*Debugger\LocalMapSortDirection = 1But seeing the 0 written, is there a reason why arrays, lists, and maps are not sorted by name by default?
Otherwise, if needed, I am ready for a PR