Go Local: React/Redux App(2)

Photo by XPS on Unsplash

I recently took my project assessment and was tasked with an assignment of making my posts sort from ascending order to the original state. Initially I thought that all I had to do was use a .sort() on my array of posts, but there was more to it and I’ll explain why.

Originally, this was what my code looked like: