Ordered data store not working properly

I have watched some youtube tutorials, watched some scripts in some models and read the api from the roblox developer website, after getting all the knowledge that I needed i went to code my own Ordered Data Store but it didn’t work.

script:

local ds = game:GetService("DataStoreService"):GetOrderedDataStore("Data_".."Time")
local Players = game:GetService("Players")

local MaxItems = 10
local MinValueDisplay = 1
local MaxValueDisplay = 10e15

local function GetPlayerData()
	local data = ds:GetSortedAsync(false, MaxItems, MinValueDisplay, MaxValueDisplay)
	local toppage = data:GetCurrentPage()
	
	for position, v in ipairs(toppage) do
		local UserId = v.key
		local value = v.value
		local username = "[Not Available]"
		
		local success, err = pcall(function()
			username = Players:GetNameFromUserIdAsync(UserId)
		end)
		
		print(username.." is "..position.." with "..value)
	end
end

GetPlayerData()