[buddypress-trac] [BuddyPress Trac] #6047: More general sorting function
buddypress-trac
noreply at wordpress.org
Wed Nov 26 18:14:47 UTC 2014
#6047: More general sorting function
--------------------------+-----------------
Reporter: boonebgorges | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 2.2
Component: Core | Version:
Severity: normal | Keywords:
--------------------------+-----------------
`bp_alpha_sort_by_key()` is very nice, but it only works for alphabetical
sorting. It would be nice to support numeric sorting as well. (See #5669
for an example use - sorting by position. We could also adopt elsewhere in
BP.) I propose a more general function, with `bp_alpha_sort_by_key()`
converted to a wrapper.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6047>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list