def METHOD_NAME( results, baselineResults ):
    """
    Return a dictionary containing both the results and baseline results.
    Arguments:
        results: The dictionary of benchmark results.
        baselineResults: The dictionary of baseline benchmark results.
    """
    joined = {}
    for key in results:
        joined[ key ] = [ results[ key ][ 0 ], results[ key ][ 1 ], float( "nan" ), float( "nan" ) ]
    for key in baselineResults:
        if key in joined:
            joined[ key ][ 2 ] = baselineResults[ key ][ 0 ]
            joined[ key ][ 3 ] = baselineResults[ key ][ 1 ]
        else:
            joined[ key ] = [ float( "nan" ), float( "nan" ), baselineResults[ key ][ 0 ], baselineResults[ key ][ 1 ] ]
    joinedList = []
    for key in joined:
        item = []
        item += key
        item += joined[ key ]
        joinedList.append( item )
    return sorted( joinedList, lambda x, y: cmp( x, y ) )