# Sort: 'a list vs sort: int list

**URL:** <https://discuss.ocaml.org/t/sort-a-list-vs-sort-int-list/12227>\
**Category:** Learning\
**Created:** [May 25, 2023, 12:56am UTC](https://discuss.ocaml.org/t/sort-a-list-vs-sort-int-list/12227 "2023-05-25T00:56:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![askvortsov](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/askvortsov/32/3034_2.png) [@askvortsov](https://discuss.ocaml.org/u/askvortsov)\
**Post date:** [May 25, 2023, 1:11am UTC](https://discuss.ocaml.org/t/sort-a-list-vs-sort-int-list/12227/2 "2023-05-25T01:11:49Z")

</div>

Which module is the `<=` operator coming from, in this case? E.g. if you hover over it?

`Stdlib.(<=)` should be polymorphic: [OCaml library : Stdlib](https://v2.ocaml.org/releases/5.0/api/Stdlib.html)

But the `Base` equivalents are not: [Removing polymorphic compare from Core](https://discuss.ocaml.org/t/removing-polymorphic-compare-from-core/2994)

---

_[View the full topic](https://discuss.ocaml.org/t/sort-a-list-vs-sort-int-list/12227)._
