change SQL queries for profile and index view so posts were in descending order by time created