Sort works,but still not done split in pages