an a extra parameter, this function should return the array in a reorder way and it must be the same if i provide the same extra parameter in other call
any idea how can i achieve this?
basically i need to reorder the results of a webpage for every time the user visits it, but it must keep the elements in the same order for the user session... so i am thinking that i can store a value in the cookies an use it to reorder the elements, but no clue how to write the logic 🦧
Обсуждают сегодня