---
lang: en
title: 'API docs: filter.order'
keywords: LoopBack 4.0, LoopBack 4, Node.js, TypeScript, OpenAPI
sidebar: lb4_sidebar
editurl: https://github.com/loopbackio/loopback-next/tree/master/packages/filter
permalink: /doc/en/lb4/apidocs.filter.order.html
---

<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@loopback/filter](./filter.md) &gt; [Order](./filter.order.md)

## Order type

Order by

Example: `{afieldname: 'ASC'}`

**Signature:**

```typescript
export type Order<MT = AnyObject> = {
    [P in keyof MT]: Direction;
};
```
**References:** [Direction](./filter.direction.md)


