Title: Sorting Items
Last modified: April 20, 2018

---

# Sorting Items

 *  Resolved [Zanzara](https://wordpress.org/support/users/zanzara/)
 * (@zanzara)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sorting-items-2/)
 * Great auction plugin by the way!!!!
 * I need to sort the items listed on my site.
    It currently only sorts it by ID
   number. I’d like to change that and sort it alphabetically by the name of the
   item itself.
 * Is this possible? If so, how do I do it.
 * Thanks!!

Viewing 1 replies (of 1 total)

 *  Plugin Author [Nitesh](https://wordpress.org/support/users/nitesh_singh/)
 * (@nitesh_singh)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/sorting-items-2/#post-10230932)
 * Hi [@zanzara](https://wordpress.org/support/users/zanzara/),
 * Sorry for delayed response.
 * Thanks by the way for nice comments. You can post your review here – [https://wordpress.org/plugins/ultimate-auction/#reviews](https://wordpress.org/plugins/ultimate-auction/#reviews)
 * You can do below to sort alphabetically:
 * (1) Open file auction-feeder-page.php from plugin’s root directory.
 * (2) Go to line no. 58 which has content = ‘paged’ => $paged and put this code
   below it.
 *     ```
       'orderby'=> 'title',
       'order' => 'ASC',    (ASC meance a to z) (DESC meance z to a)
       ```
   
 * There is another way to do it:
 * Follow Step (1) and then on line 52 replace Original code to below code:
 * Original Code:
 *     ```
       $args = array(
         'posts_per_page' => $page_num,
         'post_type' => 'ultimate-auction',
         'auction-status' => 'live',
         'post_status' => 'publish',
         'paged' => $paged,
         'suppress_filters' => false
       );
       ```
   
 * New Code
 *     ```
       $args = array(
         'posts_per_page' => $page_num,
         'post_type' => 'ultimate-auction',
         'auction-status' => 'live',
         'post_status' => 'publish',
         'paged' => $paged,
          'orderby'=> 'title',
          'order' => 'ASC',
         'suppress_filters' => false
       );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Sorting Items’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-auction/assets/icon-128x128.png?rev=1494738)
 * [Ultimate Wordpress Auction Plugin](https://wordpress.org/plugins/ultimate-auction/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-auction/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-auction/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-auction/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-auction/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-auction/reviews/)

## Tags

 * [sort](https://wordpress.org/support/topic-tag/sort/)
 * [sort items](https://wordpress.org/support/topic-tag/sort-items/)
 * [sorting](https://wordpress.org/support/topic-tag/sorting/)

 * 1 reply
 * 2 participants
 * Last reply from: [Nitesh](https://wordpress.org/support/users/nitesh_singh/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/sorting-items-2/#post-10230932)
 * Status: resolved