[functions] Fix order of front page posts