used natural order in sorting map elements; fixed bugs; updated *.out files