[sort_segment_list] provided safe [lu]_bound values for non-allocates lists
sorted the lists of segments
computed offsets within the lists of segments