fixed pooleddataarray sort(collect(keys(pool ref)))