Filter lines to just keep highest from an overlapping set

Rev Roads Model.dwg (1.6 MB)

I’m trying to keep only the top line (highest elevation) in each set of overlapping lines in the attached drawing. Not managed it yet, any advice much appreciated. Richard.