Hey, I'm trying to understand the Global Leaderboard Logic. Right now, I have around 6 players that have save data into the DataStore.

I'm saving the Data with this hierarchy :

sessionData[playerUserId] = {
	{Score=0,Time=os.time()}, 
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	{Score=0,Time=os.time()},
	0, -- Total Scores
	player.Name,
	0 -- Total Kills
}

Here is my current Global Leaderboard Script :

local DataStoreService = game:GetService("DataStoreService")
local dataStore = DataStoreService:GetOrderedDataStore("PlayerData_00")
local smallestFirst = false--false = 2 before 1, true = 1 before 2
local numberToShow = 100--Any number between 1-100, how many will be shown
local minValue = 1--Any numbers lower than this will be excluded
local maxValue = 10e30--(10^30), any numbers higher than this will be excluded
local pages = dataStore:GetSortedAsync(smallestFirst, numberToShow, minValue, maxValue)
--Get data
local page = pages:GetCurrentPage()--Get the first page

for i,data in ipairs(page) do--Display data
	print(i)
end

the problem is that it only print 1 and not the 5 other users. Also, I dont know how to get for example the total Kills for every top players ..

Thanks for your Time !