Title: sortby random doesn&#8217;t work
Last modified: February 16, 2021

---

# sortby random doesn’t work

 *  Resolved [slykereven](https://wordpress.org/support/users/slykereven/)
 * (@slykereven)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/sortby-random-doesnt-work/)
 * Hi,
    The random sortby function doesn’t work. I tried the to set it up in ultimate
   admin and also in the shortcode with [sortby=”rand”] , the second one seems better
   because i could see some change in the source code with random in data-sorting:
 *     ```
        class="um um-directory um-44b1b"
            data-hash="44b1b" data-base-post="2"
       	 data-must-search="0" data-searched="1"
       	 data-view_type="list" data-page="1"
       	 data-sorting="random">
       ```
   
 * But when i reload the page, it’s always the same user …
    If anyone as an idea
   about that ??? Thank’s

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

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/sortby-random-doesnt-work/#post-14061257)
 * Hi [@slykereven](https://wordpress.org/support/users/slykereven/)
 * Thanks for letting us know. I’ve created a ticket regarding this issue:
    [https://github.com/ultimatemember/ultimatemember/issues/752](https://github.com/ultimatemember/ultimatemember/issues/752)
 * Regards,
 *  Thread Starter [slykereven](https://wordpress.org/support/users/slykereven/)
 * (@slykereven)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/sortby-random-doesnt-work/#post-14063267)
 * Hi [@champsupertramp](https://wordpress.org/support/users/champsupertramp/)
    
   Ok thank’s for that, if there is a solution before the next upgrade I will take
   it 🙂 Regards,
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/sortby-random-doesnt-work/#post-14082621)
 * Hey there!
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread by changing the Topic Status to ‘Not 
   Resolved’ if any other questions come up and we’d be happy to help. 🙂
 * Regards,

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

The topic ‘sortby random doesn’t work’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

## Tags

 * [sortby](https://wordpress.org/support/topic-tag/sortby/)

 * 3 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/sortby-random-doesnt-work/#post-14082621)
 * Status: resolved