Wrong order of entities, how to change that?
Take a look at the Drupal API taxonomy_select_nodes(). You are missing the $order argument.

taxonomy_select_nodes($tid, $pager = TRUE, $limit = FALSE, $order = array('t.sticky' =&gt; 'DESC', 't.created' =&gt; 'DESC'));