Search for _sort_

  1. Search 9.5.x for _sort_
  2. Search 8.9.x for _sort_
  3. Search 10.3.x for _sort_
  4. Search 11.x for _sort_
  5. Other projects
Title Object type File name Summary
announcements_feed_sort_featured function modules/announcements_feed/announcements_feed.inc Sort the elements of announcements_feed by values in comparison function.
DatabaseSelectTableSortDefaultTestCase class modules/simpletest/tests/database_test.test
DatabaseSelectTableSortDefaultTestCase::getInfo function modules/simpletest/tests/database_test.test
DatabaseSelectTableSortDefaultTestCase::testTableSortDefaultSort function modules/simpletest/tests/database_test.test Confirm that if a sort is not set in a tableselect form there is no error thrown when using the default.
DatabaseSelectTableSortDefaultTestCase::testTableSortQuery function modules/simpletest/tests/database_test.test Confirm that a tablesort query returns the correct results.
DatabaseSelectTableSortDefaultTestCase::testTableSortQueryFirst function modules/simpletest/tests/database_test.test Confirm that if a tablesort's orderByHeader is called before another orderBy, that the header happens first.
database_test_tablesort_first function modules/simpletest/tests/database_test.module Run a tablesort query with a second order_by after and return the results.
DrupalRenderTestCase::testDrupalRenderSorting function modules/simpletest/tests/common.test Test sorting by weight.
drupal_sort_css_js function includes/common.inc Sorts CSS and JavaScript resources.
drupal_sort_title function includes/common.inc Array sorting callback; sorts elements by 'title' key.
drupal_sort_weight function includes/common.inc Sorts a structured array by the 'weight' element.
element_sort_by_title function includes/common.inc Array sorting callback; sorts elements by title.
seven_tablesort_indicator function themes/seven/template.php Override of theme_tablesort_indicator().
system_sort_modules_by_info_name function modules/system/system.admin.inc Array sorting callback; sorts modules or themes by their name.
system_sort_themes function modules/system/system.admin.inc Sorts themes by their names, with the default theme listed first.
tablesort.inc file includes/tablesort.inc Functions to aid in the creation of sortable tables.
tablesort.test file modules/simpletest/tests/tablesort.test Various tablesort tests.
TableSort::$header property includes/tablesort.inc The array of fields that can be sorted by.
TableSort::getQueryParameters function includes/tablesort.inc Compose a URL query parameter array to append to table sorting requests.
TableSort::getSort function includes/tablesort.inc Determine the current sort direction.
TableSort::init function includes/tablesort.inc Initializes the table sort context.
TableSort::order function includes/tablesort.inc Determine the current sort criterion.
TableSort::orderByHeader function includes/tablesort.inc Order the query based on a header array.
TableSort::__construct function includes/tablesort.inc
TableSortTest class modules/simpletest/tests/tablesort.test Test unicode handling features implemented in unicode.inc.
TableSortTest::$GET property modules/simpletest/tests/tablesort.test Storage for initial value of $_GET.
TableSortTest::getInfo function modules/simpletest/tests/tablesort.test
TableSortTest::setUp function modules/simpletest/tests/tablesort.test Sets up unit test environment.
TableSortTest::tearDown function modules/simpletest/tests/tablesort.test
TableSortTest::testTableSortInit function modules/simpletest/tests/tablesort.test Test tablesort_init().
tablesort_cell function includes/tablesort.inc Formats a table cell.
tablesort_get_order function includes/tablesort.inc Determines the current sort criterion.
tablesort_get_query_parameters function includes/tablesort.inc Composes a URL query parameter array for table sorting links.
tablesort_get_sort function includes/tablesort.inc Determines the current sort direction.
tablesort_header function includes/tablesort.inc Formats a column header.
tablesort_init function includes/tablesort.inc Initialize the table sort context.
theme_tablesort_indicator function includes/theme.inc Returns HTML for a sort icon.
_field_sort_items function modules/field/field.module Helper function to sort items in a field according to
user drag-n-drop reordering.
_field_sort_items_helper function modules/field/field.module Sort function for items order.
(copied form element_sort(), which acts on #weight keys)
_field_sort_items_value_helper function modules/field/field.module Same as above, using ['_weight']['#value']
_field_test_field_storage_query_sort_helper function modules/field/tests/field_test.storage.inc Sort helper for field_test_field_storage_query().
_system_sort_requirements function modules/system/system.module Helper function to sort requirements.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.