Systems and methods for levitating populations of moieties, cells, or other such units using one or more magnets in a microfluidic environment are provided. These systems and methods may be used to, for example, separate or sort heterogeneous populations of the units from one another, to assembly a multi-unit assembly during the levitating of the units, and to evaluate samples at the point of care in real-time. These systems and methods may also utilize a frame that enables an imaging device, such as a smartphone, to capture the units in real time as they are manipulated in the system.