---
slug: /silver/sorting
title: "Sorting"
author: Unknown
order: 3
prerequisites:
-
- Silver - Containers
<div class="syllabus-only">
Description: Todo
</div>
<!-- END DESCRIPTION -->
- Comparators
- CPH 3
- std::sort / Collections.sort
- coord compress
See 8 of https://www.overleaf.com/project/5e73f65cde1d010001224d8a
See 12 of https://www.overleaf.com/project/5e73f65cde1d010001224d8a
- [Breaking Java Arrays.sort()](https://codeforces.com/blog/entry/4827)
- no longer works, see [this one](https://codeforces.com/contest/1324/submission/73058869) instead
custom comparators