Search for sort

  1. Search 7.x for sort
  2. Search 9.5.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
BlockManager::getSortedDefinitions function core/lib/Drupal/Core/Block/BlockManager.php Gets sorted plugin definitions.
BreadcrumbManager::$sortedBuilders property core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php Holds the array of breadcrumb builders sorted by priority.
BreadcrumbManager::getSortedBuilders function core/lib/Drupal/Core/Breadcrumb/BreadcrumbManager.php Returns the sorted array of breadcrumb builders.
CategorizingPluginManagerInterface::getSortedDefinitions function core/lib/Drupal/Component/Plugin/CategorizingPluginManagerInterface.php Gets sorted plugin definitions.
CategorizingPluginManagerTrait::getSortedDefinitions function core/lib/Drupal/Core/Plugin/CategorizingPluginManagerTrait.php
DateFormat::sort function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Helper callback for uasort() to sort configuration entities by weight and label.
DefaultLazyPluginCollection::sort function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Sorts all plugin instances in this collection.
DefaultLazyPluginCollection::sortHelper function core/lib/Drupal/Core/Plugin/DefaultLazyPluginCollection.php Provides uasort() callback to sort plugins.
EntityDisplayModeBase::sort function core/lib/Drupal/Core/Entity/EntityDisplayModeBase.php Helper callback for uasort() to sort configuration entities by weight and label.
ExtensionDiscovery::sort function core/lib/Drupal/Core/Extension/ExtensionDiscovery.php Sorts the discovered extensions.
Graph::searchAndSort function core/lib/Drupal/Component/Graph/Graph.php Performs a depth-first search and sort on the directed acyclic graph.
module_config_sort function core/includes/module.inc Sorts the configured list of enabled modules.
Query::addSort function core/lib/Drupal/Core/Entity/Query/Sql/Query.php Adds the sort to the build query.
QueryAggregate::addSortAggregate function core/lib/Drupal/Core/Entity/Query/Sql/QueryAggregate.php Builds the aggregation sort part of the query.
QueryAggregateInterface::sortAggregate function core/lib/Drupal/Core/Entity/Query/QueryAggregateInterface.php Sorts by an aggregated value.
QueryBase::$sort property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of sorts.
QueryBase::$sortAggregate property core/lib/Drupal/Core/Entity/Query/QueryBase.php The list of sorts over the aggregate results.
QueryBase::sort function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::sortAggregate function core/lib/Drupal/Core/Entity/Query/QueryBase.php
QueryBase::tableSort function core/lib/Drupal/Core/Entity/Query/QueryBase.php Enables sortable tables for this query.
QueryInterface::sort function core/lib/Drupal/Core/Entity/Query/QueryInterface.php
QueryInterface::tableSort function core/lib/Drupal/Core/Entity/Query/QueryInterface.php Enables sortable tables for this query.
RouteProcessorManager::$sortedOutbound property core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php Holds the array of outbound processors, sorted by priority.
RouteProcessorManager::sortProcessors function core/lib/Drupal/Core/RouteProcessor/RouteProcessorManager.php Sorts the processors according to priority.
sortable.css file core/assets/vendor/jquery.ui/themes/base/sortable.css /*!
* jQuery UI Sortable 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
.ui-sortable-handle {
-ms-touch-action: none;
touch-action: none;
}
SortArray class core/lib/Drupal/Component/Utility/SortArray.php Provides generic array sorting helper methods.
SortArray.php file core/lib/Drupal/Component/Utility/SortArray.php
SortArray::sortByKeyInt function core/lib/Drupal/Component/Utility/SortArray.php Sorts an integer array item by an arbitrary key.
SortArray::sortByKeyString function core/lib/Drupal/Component/Utility/SortArray.php Sorts a string array item by an arbitrary key.
SortArray::sortByTitleElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by 'title' key (no # prefix).
SortArray::sortByTitleProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#title' property.
SortArray::sortByWeightElement function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by the 'weight' element.
SortArray::sortByWeightProperty function core/lib/Drupal/Component/Utility/SortArray.php Sorts a structured array by '#weight' property.
tablesort.inc file core/includes/tablesort.inc Functions to aid in the creation of sortable tables.
TableSortLegacyTest class core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Deprecation tests cases for the tablesort.inc file functions.
TableSortLegacyTest.php file core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php
TableSortLegacyTest::testHeader function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_header() function.
TableSortLegacyTest::testInit function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_init() function.
TableSortLegacyTest::testOrder function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_get_order() function.
TableSortLegacyTest::testQueryParameters function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_get_query_parameters() function.
TableSortLegacyTest::testSort function core/tests/Drupal/KernelTests/Core/Theme/TableSortLegacyTest.php Tests deprecation of the tablesort_get_sort() function.
tablesort_get_order function core/includes/tablesort.inc Determines the current sort criterion.
tablesort_get_query_parameters function core/includes/tablesort.inc Composes a URL query parameter array for table sorting links.
tablesort_get_sort function core/includes/tablesort.inc Determines the current sort direction.
tablesort_header function core/includes/tablesort.inc Formats a column header.
tablesort_init function core/includes/tablesort.inc Initializes the table sort context.
_field_multiple_value_form_sort_helper function core/includes/theme.inc Callback for usort() within template_preprocess_field_multiple_value_form().

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