Solution

39429

First name
Sam
School
Oratia
Country
Age
10

To work this problem out I put the numbers in a table like so,

0123456789
0123456789

Then I just wrote the four digit numbers down crossing out the numbers in the table as I went along. If one of them looked wrong or I could change one around I would change it.