How to imitate GetOrderedDataStore()

How can I imitate GetOrderedDataStore(key) with an existing data store? For example, if I have this code,

--game services
local DataStoreService = game:GetService("DataStoreService")
local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local PointsDataStore = DataStoreService:GetDataStore("PointsDataStore")

How can I turn line 5 into an ordered datastore but still retain the same data. I don’t want to create a new datastore. I suspect you can do this by using merge or insertion sort but I do not think that is how it works.

So you want to change the PointsDataStore into an OrderedDataStore without losing the data there? It can be done when a player who already has data in that datastore enters the game. When a player enters the game, get their data from PointsDataStore and set it to the new OrderedDataStore. The obvious problem is that every player will need to join the game to get everything moved. However if very little people have played your game or it’s still in development and nobody’s played it yet besides you and a couple others, just have each player join and then delete the old datastore when you’re done. Not the best solution but it is a solution. Hope this helps.