Method sortByValue now called sortMapByValue and takes an additional argument for the sorting order (ascening/descending)