Creating spanning-sorted-lists