Original Post
Hello! I have struct that looks like this: public struct DataStruct { public string personnummer; public string namn; public string efternamn; public string telefon; public string email; } DataStruct[] Data = new DataStruct[100]; I would like to print the struct out to a file based on personnummer (personnumber). Like this: 851543 <-- Lower number comes first. Test Hey 0533335 ff@yahgoo.se 920617 John Lock 0500427743 john@yahoo.se Thank you.