Sorted lists iteration 6 (fix promotion logic)

Signed-off-by: Edward Z. Yang <ezyang@mit.edu>