---
title: "Get news articles sorted by published date"
description: "How to sort news articles by published date"
source: https://apitube.io/cookbook/get-sorted-news
---

#### Input parameters
| Parameter         | Description                                     | Type   | Default | Required |
|-------------------|:-----------------------------------------------|:-------:|:--------|:---------|
| sort.by           | The parameter by which to sort the articles      | string |         | Yes      |
| sort.order        | The order in which to sort the articles          | string |         | Yes      |
| per_page             | The number of articles to return                | integer| 20      | No       |
| api_key           | Your API key                                    | string |         | No       |

---

#### Related Examples

- [Get news in a specific time range](/cookbook/get-latest-news-articles-in-a-specific-time-range)
- [Get news on a specific date](/cookbook/get-news-on-date)
- [Get news with specific timing](/cookbook/news-articles-with-timing)
- [Sort by engagement score](/cookbook/sort-articles-by-engagement-score)
- [Sort by quality score](/cookbook/sort-articles-by-quality-score)

