Minimap dialog: list lines and boxes in y order

in the minimap dialog, currently lines and boxes are each listed in y order, but all lines are listed before all boxes.

Ideally lines and boxes would be listed together in y order.

To stand apart from lines, box items should also use the list style from search filters

this was also requested on the discord as i recall, but it was so long ago that I can’t find it anymore

add max height to this Table of Contents component