I want to create a highscore for a simple game wich is stored after the game is closed, and opened again when the game is started a next time.

Its a simple game, so basicaly, I want 10 names to be in the highscore, with a score between 0 and 9999.

Highest should be on top, lowest gets kicked out if a higher one comes in.

I'm not sure how I should do this, can anyone help me?

Thx, Mats