Closure parameter type inference: DGM#sort(Map) accepts single Map.Entry argument too