#6047 closed enhancement (fixed)
More general sorting function
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Core | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
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.
Change History (2)
Note:
See TracTickets
for help on using tickets.
In 9191: