Title: roachfiend's Replies | WordPress.org

---

# roachfiend

  [  ](https://wordpress.org/support/users/roachfiend/)

 *   [Profile](https://wordpress.org/support/users/roachfiend/)
 *   [Topics Started](https://wordpress.org/support/users/roachfiend/topics/)
 *   [Replies Created](https://wordpress.org/support/users/roachfiend/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/roachfiend/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/roachfiend/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/roachfiend/engagements/)
 *   [Favorites](https://wordpress.org/support/users/roachfiend/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [List posts in categories alphabetically](https://wordpress.org/support/topic/list-posts-in-categories-alphabetically/)
 *  Thread Starter [roachfiend](https://wordpress.org/support/users/roachfiend/)
 * (@roachfiend)
 * [21 years, 3 months ago](https://wordpress.org/support/topic/list-posts-in-categories-alphabetically/#post-160301)
 * Nevermind, I finally figured out how to do it. You modify the wp-includes/classes.
   php file. Go to line 462, and add in this:
    ` // Alphabetical hack for categories
   if ($whichcat) { $q['orderby'] = 'title'; $q['order'] = 'ASC'; }

Viewing 1 replies (of 1 total)