category query now does ORDER BY timestamp