You will need to change how the values are displayed.
If you are trying to get 1028606 without 28605, you would do the following:
local newAssets = {}
for id,_ in pairs(playerAssets) do
table.insert(newAssets,tonumber(id)) -- Add the id as a number into the table
end
print(newAssets) --> {1028606,1028720,1029025,1031429,1032641}
I am using 3 spaces in this code for tabs. You may need to convert it to tab characters in your editor.
You must sort your table if you want the lowest/highest value. The API may not ensure the order.