Is there a way to delete duplicate waypoints in HomePort? Preferably by GPS numbers, not waypoint names.

I have thousands of waypoints from multiple MFDs, with hundreds if not more duplicate waypoints, some with same name.

Is there a way to delete duplicate waypoints in HomePort? Preferably by GPS numbers, not waypoint names.