ProShell v2.0
Dashboard
Server Info
Server: 158.106.128.192
PHP: 8.2.33
home
planet5
public_html
bansibaba.com
wp-includes
2026-09-16 11:57:55
Editing: Sort.php
Cancel
Save Changes
<?php /** * Class Google\Site_Kit\Core\Util\Sort * * @package Google\Site_Kit\Core\Util * @copyright 2022 Google LLC * @license https://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0 * @link https://sitekit.withgoogle.com */ namespace Google\Site_Kit\Core\Util; /** * Utility class for sorting lists. * * @since 1.90.0 * @access private * @ignore */ class Sort { /** * Sorts the provided list in a case-insensitive manner. * * @since 1.90.0 * * @param array $list_to_sort The list to sort. * @param string $orderby The field by which the list should be ordered by. * * @return array The sorted list. */ public static function case_insensitive_list_sort( array $list_to_sort, $orderby ) { usort( $list_to_sort, function ( $a, $b ) use ( $orderby ) { if ( is_array( $a ) && is_array( $b ) ) { return strcasecmp( $a[ $orderby ], $b[ $orderby ] ); } if ( is_object( $a ) && is_object( $b ) ) { return strcasecmp( $a->$orderby, $b->$orderby ); } return 0; } ); return $list_to_sort; } }
Upload Files
Cancel
Upload
Create New
Cancel
Create
Change Permissions
Cancel
Save
Change Date
Cancel
Save
Rename Item
Cancel
Save
Confirm Delete
Are you sure you want to delete the selected items?
Cancel
Delete