---
title: "Discussion on \"How to sort arrays reliably in TypeScript\" | Hashnode"
description: "Discussion on \"How to sort arrays reliably in TypeScript\". Why you should never rely on the default sort"
url: "https://hashnode.com/posts/how-to-sort-arrays-reliably-in-typescript/63ea68c212a290f952b1244c"
---

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

Discussion

# [How to sort arrays reliably in TypeScript](https://webdev.tips/how-to-sort-arrays-reliably-in-typescript?utm_source=hashnode&utm_medium=feed)

Why you should never rely on the default sort

Feb 13, 2023 · 4 min read · webdev.tips  
Read the article

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

## Written by

[Joel Saupe](https://hashnode.com/@joelsaupe)

@joelsaupe

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

Software engineer

Software engineer with 10 years of experience working on frontend applications and tooling to make frontend development easier.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
