removed a few lines of code
sorting XML structures in order to decrease the number of structures managed by the index_service