Entire communities were swept out to sea in flood-ravaged eastern Libya, with the city of Derna worst hit.