---
title: "Discussion on \"How to sort an array of objects by one or more of their properties\" | Hashnode"
description: "Discussion on \"How to sort an array of objects by one or more of their properties\". It is possible to sort an array of objects based on their properties in either ascending or descending order with the help of sort method."
url: "https://hashnode.com/posts/how-to-sort-an-array-of-objects-by-one-or-more-of-their-properties/63c690ddbea9e0f20930283a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to sort an array of objects by one or more of their properties](https://codelery.hashnode.dev/how-to-sort-an-array-of-objects-by-one-or-more-of-their-properties?utm_source=hashnode&utm_medium=feed)

It is possible to sort an array of objects based on their properties in either ascending or descending order with the help of sort method.

Jan 17, 2023 · 3 min read · codelery.hashnode.dev  
Read the article

-   [#software-development](https://hashnode.com/tag/software-development)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#sort](https://hashnode.com/tag/sort)
-   [#array-methods](https://hashnode.com/tag/array-methods)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Bello Shehu](https://hashnode.com/@codelery)

@codelery

  
[View profile](https://hashnode.com/@codelery)

A full stack developer with high passion for tech

## Responses 1

Markdown supported · ⌘↵ to post

[Balikis Omolewa](https://hashnode.com/@omolewaBalikis)

[Jan 23, 2023](https://hashnode.com/posts/how-to-sort-an-array-of-objects-by-one-or-more-of-their-properties/63c690ddbea9e0f20930283a/comment/63cdf549d30224c6b433c9ab)

Thanks for this, Amazing
