empty spaces in widgets

I have a bunch of widgets in the product theme sidebar. Some use widget logic to work, others use Membership plugin membership widgets. I notice that if a widget doesn't apply to the current user it does not display but still uses up space.
For example, in the admin panel, if I have 5 widgets for the sidebar and only the 5th one applies to a current user then site view shows as empty spaces for the first 4 widgets and the 5th widget appears after a lot of white space.

How do I get the first widget that is being used to render in first widget position? Ditto second widget being used in second position...