do you see these bits of code?
this is for links
<?php get_links_list(); ?>
and this is for categories
<li id=”categories”><?php _e(“Categories:”); ?>
you should be able to just put the links one where the categories one is and the categories one where the links one was…because you don’t mess with it specifically in your css
i think…try?