Skip to main content
Backdrop CMS API
Documentation for Backdrop CMS developers.
  • Welcome!
    • Login

You are here

  1. Home »
  2. API reference »
  3. 1.x

Search for orderBy

Name Type Location Description
SelectQuery::orderBy function core/includes/database/select.inc Implements SelectQueryInterface::orderBy().
SelectQuery::getOrderBy function core/includes/database/select.inc Implements SelectQueryInterface::getOrderBy().
TableSort::orderByHeader function core/includes/tablesort.class.inc Order the query based on a header array.
SelectQueryExtender::orderBy function core/includes/database/select.inc Orders the result set by a given field.
SelectQueryInterface::orderBy function core/includes/database/select.inc Orders the result set by a given field.
EntityFieldQuery::fieldOrderBy function core/modules/entity/entity.query.inc Orders the result set by a given field column.
SelectQueryExtender::getOrderBy function core/includes/database/select.inc Returns a reference to the order by array for this query.
EntityFieldQuery::entityOrderBy function core/modules/entity/entity.query.inc Orders the result set by entity-generic metadata.
SelectQueryInterface::getOrderBy function core/includes/database/select.inc Returns a reference to the order by array for this query.
EntityFieldQuery::propertyOrderBy function core/modules/entity/entity.query.inc Orders the result set by an entity-specific property.
views_plugin_query_default::add_orderby function core/modules/views/plugins/views_plugin_query_default.inc Add an ORDER BY clause to the query.
DatabaseSelectOrderedTestCase::testOrderByEscaping function core/modules/simpletest/tests/database_test.test Tests that the sort direction is sanitized properly.
  • Developer Documentation
    • Advanced Installation
    • Developing Modules
    • Developing Themes
    • Developing Layouts
    • Upgrading from Drupal 7
    • Converting Drupal code
      • Converting modules
      • Converting themes
      • Change Records
    • Working w Config Management
    • Deploying a Backdrop site
    • Coding & documentation standards
    • Writing secure code
    • Contribute to Backdrop
  • Backdrop API
    • Topics
    • Functions
    • Classes
    • Files
    • Globals
    • Form API Reference
  • Glossary

Stay connected

Sign up for our newsletter

Powered by Backdrop CMS
  • backdropcms.org
  • forum.backdropcms.org