Private Access Private Access
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use WP_List_Util::sort() instead.
Callback to sort the list by specific fields.
(object|array) (Required) One object to compare.
(object|array) (Required) The other object to compare.
(int) 0 if both objects equal. -1 if second object should come first, 1 otherwise.