`map`? I thought nowadays we should use list comprehensions (for such cases). But I'm not entirely sure.

-> ` [Definition(d) for d in sorted(names, key=lambda s: s.start_pos)]` (it's probably nicer)