regroup array in resulting page