Title: Adding a sort function to the author list
Last modified: August 20, 2016

---

# Adding a sort function to the author list

 *  [adastra](https://wordpress.org/support/users/adastra/)
 * (@adastra)
 * [15 years ago](https://wordpress.org/support/topic/adding-a-sort-function-to-the-author-list/)
 * I’m converting [this](http://against-dubbing.com/en/join) site to WordPress, 
   having already imported the list of users into wp_users, etc.
 * Now I’ve created a custom page template to display the list exactly like that,
   but unfortunately I can’t figure out how to create the sort & pagination.
 * Here’s the code I’ve come up with so far:
    [http://pastebin.com/3Fe7d97e](http://pastebin.com/3Fe7d97e)
 * It displays the first 50 users, but neither the sort nor the pagination works–
   currently it shows the users listed by ID, not as desired by the latest registration
   date. I’m somewhat inexperienced with such advanced hacks, so I’d be grateful
   for any help.

Viewing 1 replies (of 1 total)

 *  Thread Starter [adastra](https://wordpress.org/support/users/adastra/)
 * (@adastra)
 * [15 years ago](https://wordpress.org/support/topic/adding-a-sort-function-to-the-author-list/#post-2094903)
 * Nobody any ideas? I could easily do a sort function with jQuery, but I really
   don’t want to, considering the list includes 1500 items…

Viewing 1 replies (of 1 total)

The topic ‘Adding a sort function to the author list’ is closed to new replies.

## Tags

 * [pagination](https://wordpress.org/support/topic-tag/pagination/)
 * [sort](https://wordpress.org/support/topic-tag/sort/)
 * [users](https://wordpress.org/support/topic-tag/users/)
 * [user_meta](https://wordpress.org/support/topic-tag/user_meta/)

 * In: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
 * 1 reply
 * 1 participant
 * Last reply from: [adastra](https://wordpress.org/support/users/adastra/)
 * Last activity: [15 years ago](https://wordpress.org/support/topic/adding-a-sort-function-to-the-author-list/#post-2094903)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
