introduce sorted map