---
title: "Discussion on \"Sorting An array of objects\" | Hashnode"
description: "Discussion on \"Sorting An array of objects\". So for the past few days I've been trying to sort an array of objects while comparing the values I want to sort to a main array.\n\nan array that contains standard elements\n\nLet me put this straight, i.e. an array has five types of jewels\n[\"beryl\", \"ch..."
url: "https://hashnode.com/posts/sorting-an-array-of-objects/625c30542f84e0d4fc33eabe"
---

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

Discussion

# [Sorting An array of objects](https://mukhtar.hashnode.dev/sorting-an-array-of-objects?utm_source=hashnode&utm_medium=feed)

So for the past few days I've been trying to sort an array of objects while comparing the values I want to sort to a main array. an array that contains standard elements Let me put this straight, i.e. an array has five types of jewels \["beryl", "ch...

Apr 17, 2022 · 2 min read · mukhtar.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Abdulfatai Mukhtar](https://hashnode.com/@DevMukhtar)

@DevMukhtar

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

Software Developer

I’m a Software Developer passionate about writing on software development.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
