---
title: "Discussion on \"How to Sort an Array of Numbers in Javascript\" | Hashnode"
description: "Discussion on \"How to Sort an Array of Numbers in Javascript\". Sorting an array in javascript is pretty easy but the problem is sorting an array of numbers. In this article, we will break down the steps to do so."
url: "https://hashnode.com/posts/how-to-sort-an-array-of-numbers-in-javascript/5ea7643812892a3c760b9c9c"
---

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

Discussion

# [How to Sort an Array of Numbers in Javascript](https://thejsaddict.hashnode.dev/how-to-sort-an-array-of-numbers-in-javascript?utm_source=hashnode&utm_medium=feed)

Sorting an array in javascript is pretty easy but the problem is sorting an array of numbers. In this article, we will break down the steps to do so.

Apr 27, 2020 · 2 min read · thejsaddict.hashnode.dev  
Updated Feb 16, 2023  
Read the article

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

## Written by

[Reece Appau](https://hashnode.com/@thejsaddict)

@thejsaddict · Accra, Ghana

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

Javascript Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
