Is memory service or ordereddatastore better for global leaderboard?
I would recommend Ordered Datastores. Memory Storage has storage limitations which are much lower than that of Datastores. Memory Storage is also designed for hight frequency calls, it is unlikely that you will need to call a global leaderboard every couple of seconds.