Hi there thanks for the reply.
I am not too sure what you changed but the code seems to be running exactly the same with the same problems.
In the sort function, it seems to be placing a blank struct in the first location in the array. One of the structs are being replaced by a struct with nothing in it (ie blank spaces). Our sort functions are identical.