I need some help with this because it is the first time I will have much content in a non-CMS Website which needs to be sorted, setted up and appended to various divs.
I have around 250 people with each Forname, Surname, Telephone number, E-Mail adress, and some infostring.
I thought about doing this with an array like
var peopleArr = ["John, Doe, 0123456789, johndoe@gmail.com, infoshere",
"Ellen, Page, 0987654321, ellenpage@gmail.com, anotherinfo",
"Megan, Fox, 0249235331, meganfox@gmail.com, niceinfo",
"and so on"]
but I really don't know if this make sense, since I have to sort all array elements by surname and after that I need to put each element in an own div one the site.
Would you say this makes sense or would you suggest something different? To mention is, that I don't have any experience with XML or JSON, but I am open for it if it makes the most sense.
Thanks in advance.