Title: Order By Question
Last modified: August 22, 2016

---

# Order By Question

 *  [needtakehave](https://wordpress.org/support/users/needtakehave/)
 * (@needtakehave)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/order-by-question/)
 * I’m a little confused on how the sorting works.
 * Right now one of my ads, I have the coding as this;
 * `[dfads params='groups=36&orderby=random&order=ASC']`
 * But how would I have it if I wanted it to go through the ads for that 36 group
   one by one, like say ad 1, ad 2, ad 3, etc as they were inputted, rotating each
   refresh of the page. I thought by ID but I thought I read somewhere that then
   it would only ever show the first ID and that was it so I’m not sure.
 * I hope I’m making since?
 * [https://wordpress.org/plugins/ads-by-datafeedrcom/](https://wordpress.org/plugins/ads-by-datafeedrcom/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [datafeedr](https://wordpress.org/support/users/datafeedrcom/)
 * (@datafeedrcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/order-by-question/#post-5389931)
 * Having the ads go through in order of 1, 2, 3, … etc is not possible.
 *  Thread Starter [needtakehave](https://wordpress.org/support/users/needtakehave/)
 * (@needtakehave)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/order-by-question/#post-5389960)
 * Oh okay, so it has to be random then… I only ask because right now, I have it
   set as random, but I only have 1 ad in the group so most of the time, no ad shows
   up, I guess because I don’t have enough ads in the group?
 *  Plugin Author [datafeedr](https://wordpress.org/support/users/datafeedrcom/)
 * (@datafeedrcom)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/order-by-question/#post-5390028)
 * If there’s only 1 ad in the group, turn don’t add the “orderby” parameter.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Order By Question’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ads-by-datafeedrcom.svg)
 * [Ads by datafeedr.com](https://wordpress.org/plugins/ads-by-datafeedrcom/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ads-by-datafeedrcom/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ads-by-datafeedrcom/)
 * [Active Topics](https://wordpress.org/support/plugin/ads-by-datafeedrcom/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ads-by-datafeedrcom/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ads-by-datafeedrcom/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [datafeedr](https://wordpress.org/support/users/datafeedrcom/)
 * Last activity: [11 years, 7 months ago](https://wordpress.org/support/topic/order-by-question/#post-5390028)
 * Status: not resolved