---
title: "Discussion on \"Sort an Array of Custom Objects in Swift\" | Hashnode"
description: "Discussion on \"Sort an Array of Custom Objects in Swift\". Hi all readers, Happy Valentine’s Day! 💕\nToday we’re going to explore how we can sort an array of custom objects by the value of their properties.\nThe source code of this post is available here.\nStep 0 - Overview\nSay I’m working with an array of obj..."
url: "https://hashnode.com/posts/sort-an-array-of-custom-objects-in-swift/63ec4ba0002c5ef789f4af7e"
---

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

Discussion

# [Sort an Array of Custom Objects in Swift](https://xavier7t.com/sort-an-array-of-custom-objects-in-swift?utm_source=hashnode&utm_medium=feed)

Hi all readers, Happy Valentine’s Day! 💕 Today we’re going to explore how we can sort an array of custom objects by the value of their properties. The source code of this post is available here. Step 0 - Overview Say I’m working with an array of obj...

Feb 15, 2023 · 5 min read · xavier7t.com  
Read the article

-   [#ios](https://hashnode.com/tag/ios)
-   [#swift](https://hashnode.com/tag/swift)
-   [#swiftui](https://hashnode.com/tag/swiftui)
-   [#sorting](https://hashnode.com/tag/sorting)
-   [#array](https://hashnode.com/tag/array)

## Written by

[Xavier](https://hashnode.com/@xavier7t)

@xavier7t · Toronto, ON, CAN

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

iOS Developer

iOS developer from Toronto, ON, CAN

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
