Fixed bug in map sorting.
Usage sample in TestMain: keyword retrieval from real patent description