I'm trying to get a list of users to be displayed in a user defined order on a page.
I've set up a custom field team_display which the user can define with a list of comma separated names (ex: John Doe, Jane Doe, Bob Smith). I can use php explode() to get them into an array. How do I take these names and search for them using WordPress functions like get_users() and then display their meta information in that order?
I've spent a hours on this, but can't seem to figure it out. Thanks for any help.
Edit to further clarify:
I have profile listing page setup like so http://imm.io/8szu. The info is populated from the user meta data of actual WordPress user accounts. I just want to be able to list them in a user defined order: Brian, then Bob, then Joe, etc.
If I create a custom field *team_display* on the page holding the string "Brian, Bob, Joe". How can I then use that to display those users in that order. Thanks!