The waitlist queue goes by fare class, then by time added to the DM list. If you don't clear your upgrade during your normal window, before checkin, you will be added to the DM list when you checkin (including online checkin).
This only applies to UA flight#/UA ticket.
-David