---
title: "#sort-with-comparable articles | Hashnode"
description: "Explore 1 articles tagged #sort-with-comparable on Hashnode. Tutorials, guides, and how-tos from the community."
url: "https://hashnode.com/tag/sort-with-comparable"
---

Tag

# #sort-with-comparable

1 posts · 0 followers

[chanbasha](https://hashnode.com/@javaeduacademy) · [Dec 31, 2025](https://hashnode.com/posts/comparable-part1/6954e4b40fffff6d90e82a86)

### [Comparable Part-1](https://javaeduacademy.hashnode.dev/comparable-part1?utm_source=hashnode&utm_medium=feed)

Comparable : When we work with objects in Java, sometimes we want to sort them. For example : Sort employees by salary Sort students by marks Java does not know how to compare custom objects automatically.This is where Comparable comes in. What i...

5 min read · [javaeduacademy.hashnode.dev](https://javaeduacademy.hashnode.dev/comparable-part1?utm_source=hashnode&utm_medium=feed)
