fix order on archive pages