昇順:""<?php query_posts('order=ASC');?>"" 降順:""<?php query_posts('order=DESC');?>""
をループ前に付けると並び変わる。
<strong><?php query_posts('order=ASC');?></strong> <?php if (have_posts()):while (have_posts()) : the_post();?> <div class="box-post"> <p class="date"><?php the_date(); ?></p> <h3>■<?php the_title();?></h3> <div class="media-contents"><?php the_content();?></div> </div> <?php endwhile; endif; ?>