def merge(ll, rl):
    """Merge given two lists while sorting the items in them together

    :param ll: List one (left list)
    :param rl: List two (right list)
    :returns: Sorted, merged list
    """
    res = []
    while len(ll) != 0 and len(rl) != 0:
        if ll[0] < rl[0]:
            res.append(ll.pop(0))
        else:
            res.append(rl.pop(0))
    if ll:
        res = res + ll
    if rl:
        res = res + rl
    return res