GROUP BY journal_entries.entry_id ORDER BY entrydate ASC LIMIT $start,$perpage
GROUP BY journal_entries.entry_id ORDER BY entrydate DESC LIMIT $start,$perpage