Added native query for listing posts grouped by thread id, earlest post first.