Well they wouldn’t have all been standing on the beach at the same time. The British are expert queuers but that would be ridiculous.
Look at some old photographs. They might not ALL have been on the beach, but it must have seemed like it. There were huge ques of soldiers waiting to get on the bigger ships. Surprising that even more weren’t killed minutes from rescue.