How does the sentence end?

The valet employee took the car keys of Benjamin before William because
William was behind everyone in the line.