Does anyone know a way to shift all overlapping UV islands except bottom/first one?

Basically by select and shift overlapping islands except bottom/ first ones still laying in 0-1 space?