public/wordpress/wp-content/plugins/backupbuddy/destinations/dropbox2/_manage.php
// For sorting by array item value.
For sorting by array item value.
For sorting by array item value .
function pb_backupbuddy_aasort(&$array, $key) {
	$sorter=array();
	$ret=array();
	reset($array);
	foreach ($array as $ii => $va) {
	    $sorter[$ii]=$va[$key];
	}
	asort($sorter);
	foreach ($sorter as $ii => $va) {
	    $ret[$ii]=$array[$ii];
	}
	$array=$ret;
}
function pb_backupbuddy_aasort ( & $ array , $ key ) { $ sorter = array ( ) ; $ ret = array ( ) ; reset ( $ array ) ; foreach ( $ array as $ ii => $ va ) { $ sorter [ $ ii ] = $ va [ $ key ] ; } asort ( $ sorter ) ; foreach ( $ sorter as $ ii => $ va ) { $ ret [ $ ii ] = $ array [ $ ii ] ; } $ array = $ ret ; }
For sorting by array item value.
For sorting by array item value .