Temporary enqueue_sorted

-lightly tested (should work)
-refactor at a later timer