• cconstantine

    (@cconstantine)


    I happen to have a bunch of tags that all have leading numbers, so it sorts them perfectly… in ascending order. Would it be possible to get them into reverse order?

    Like an option that injected an array_reverse() just before the display loop began?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author tugbucket

    (@tugbucket)

    I guess you could try:

    if(!empty($numbersArray)){	
    	$nums = array('#' => $numbersArray);
    	$groups = array_merge($groups, $nums);
    } 

    and make it:

    if(!empty($numbersArray)){	
    	$numbersArray = array_reverse($numbersArray);
    	$nums = array('#' => $numbersArray);
    	$groups = array_merge($groups, $nums);
    } 
    Thread Starter cconstantine

    (@cconstantine)

    I meant a way to do it within the plugin’s supported functionality.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Reverse the final sorted order?’ is closed to new replies.