Worked on global index, have some issue
i) Regarding sorting of item names simple index.sort() wont work , Ex: for this list [u"Ä", u"ö", u"Ü", u"→", u"ø", u"a", u"A", u"B"], simple .sort() will return [u'A', u'B', u'a', u'\xc4', u'\xdc', u'\xf6', u'\xf8', u'\u2192'], so i have to use the locale class.
ii) Regarding putting the link to its item-index beside a item, how to check if a item has subitems or not, i mean should i do get_index() first and do processing there after, or simply do flat_index() and check for each item's subitem by doing flat_index() for each item.