Sort free list before iterating over all entities.

This should make iteration over all entities much faster.
Debug -> All, now that it is faster.