bugfix into sortMapList