changes to support new Kaivo tree view
add case-insensitive sorting for menu items