Display older post first
<p>I´m trying to display the older post first in wordpress:</p>

<p>i´m using this code to get the list of post of the current category:</p>

<pre><code>&lt;ul id="submenu_productos" class="clearfix"&gt;
    &lt;?php
        $IDOutsideLoop = $post-&gt;ID;
        while( have_posts() ) {
            the_post();
            foreach( ( get_the_category() ) as $category )
                $my_query = new WP_Query('category_name=' . $category-&gt;category_nicename . '&amp;orderby=date&amp;order=desc&amp;showposts=100');
            if( $my_query ) {
                while ( $my_query-&gt;have_posts() ) {
                    $my_query-&gt;the_post(); ?&gt;
            &lt;li&lt;?php print ( is_single() &amp;&amp; $IDOutsideLoop == $post-&gt;ID ) ? ' class="test"' : ''; ?&gt;&gt;
                &lt;a href="&lt;?php the_permalink(); ?&gt;" title="&lt;?php the_title(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt; |
            &lt;/li&gt;
    &lt;?php
            }
        }
    }
    ?&gt;
&lt;/ul&gt;
</code></pre>

<p>if i change <code>"&amp;order=desc&amp;"</code> to <code>"&amp;order=ASC&amp;"</code> it just still the order in the same way. what i´m doing wrong here?</p>
