Date Ordered Archive Page for single category?

Perhaps you can add the category to this line:

$lastposts = get_posts('numberposts=-1&category=7');

Replacing 7 with whatever category ID you need to use.

Link to the WordPress Codex page get_posts() – Parameters.