# How to arrange ciphertext from small to large

**URL:** <https://openfhe.discourse.group/t/how-to-arrange-ciphertext-from-small-to-large/740>\
**Category:** FHE Questions\
**Created:** [August 6, 2023, 1:22pm UTC](https://openfhe.discourse.group/t/how-to-arrange-ciphertext-from-small-to-large/740 "2023-08-06T13:22:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [August 6, 2023, 1:22pm UTC](https://openfhe.discourse.group/t/how-to-arrange-ciphertext-from-small-to-large/740/1 "2023-08-06T13:22:44Z")

</div>

I know it’s possible to compare the size of ciphertext now, but how to arrange ciphertext from small to large is still unknown. Can you give me a specific example.

---

<div class="post-metadata">

**Author:** ![iquah](https://yyz1.discourse-cdn.com/flex031/user_avatar/openfhe.discourse.group/iquah/32/8_2.png) [@iquah](https://openfhe.discourse.group/u/iquah)\
**Post date:** [August 7, 2023, 9:13am UTC](https://openfhe.discourse.group/t/how-to-arrange-ciphertext-from-small-to-large/740/2 "2023-08-07T09:13:25Z")

</div>

What do you mean arrange ciphertexts? Do you mean you mean arranging individual slots?

---

<div class="post-metadata">

**Author:** ![kenan](https://avatars.discourse-cdn.com/v4/letter/k/e495f1/32.png) [@kenan](https://openfhe.discourse.group/u/kenan)\
**Post date:** [August 7, 2023, 2:32pm UTC](https://openfhe.discourse.group/t/how-to-arrange-ciphertext-from-small-to-large/740/3 "2023-08-07T14:32:28Z")

</div>

What I mean is that ciphertext is sorted from smallest to largest
