added equivalent sentece to order a map with custom comparable lambda method