Search player by IN GAME (not roblox) user id system

Hi. How could I use my user id system here, and be able to search with it. I know you’d have to use ordered datastores, but I have no idea. This is my code so far:

function search(player, text)
	local ODS = game:GetService("DataStoreService"):GetOrderedDataStore("ArksieData")
	local pageSize = 1
	local pages = ODS:GetSortedAsync(false, pageSize)
	local topTen = pages:GetCurrentPage()

	for rank, data in ipairs(topTen) do
		local name = data.key
		local points = data.value
		print(data.key, data.value)
		return data.key, data.value


game.ReplicatedStorage.Search.OnServerInvoke = search