You are here

function _draggableviews_sort_nodes in DraggableViews 7

Same name and namespace in other branches
  1. 6.3 draggableviews.inc \_draggableviews_sort_nodes()

Sort Nodes

Parameters

$nodes: The nodes array to sort.

2 calls to _draggableviews_sort_nodes()
_draggableviews_build_hierarchy in ./draggableviews.inc
Build hierarchy
_draggableviews_rebuild_hierarchy in ./draggableviews.inc
Rebuild hierarchy

File

./draggableviews.inc, line 1063
Draggableviews processing functions. Rough summary of what functions in this file do:

Code

function _draggableviews_sort_nodes(&$nodes) {
  uasort($nodes, '_draggableviews_compare_nodes');
}