modify map sort util class