Explicitly adding 'posts.sort()' to home.js