def leer_data_AGN(archivo_AGN):
    (z, Fuv, eFuv, Fx, eFx) = np.loadtxt(archivo_AGN, usecols=(3, 4, 5, 6, 7), unpack=True)
    arr1inds = z.argsort()
    sorted_z = z[arr1inds]
    sorted_Fuv = Fuv[arr1inds]
    sorted_eFuv = eFuv[arr1inds]
    sorted_Fx = Fx[arr1inds]
    sorted_eFx = eFx[arr1inds]
    return (sorted_z, sorted_Fuv, sorted_eFuv, sorted_Fx, sorted_eFx)
def leer_data_AGN(archivo_AGN):
    (z, Fuv, eFuv, Fx, eFx) = np.loadtxt(archivo_AGN, usecols=(3, 4, 5, 6, 7), unpack=True)
    arr1inds = z.argsort()
    sorted_z = z[arr1inds]
    sorted_Fuv = Fuv[arr1inds]
    sorted_eFuv = eFuv[arr1inds]
    sorted_Fx = Fx[arr1inds]
    sorted_eFx = eFx[arr1inds]
    return (sorted_z, sorted_Fuv, sorted_eFuv, sorted_Fx, sorted_eFx)