Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion getting-started/basic-operators.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ true

The reason we can compare different data types is pragmatism. Sorting algorithms don't need to worry about different data types in order to sort. The overall sorting order is defined below:

number < atom < reference < functions < port < pid < tuple < maps < list < bitstring
number < atom < reference < function < port < pid < tuple < map < list < bitstring

You don't actually need to memorize this ordering, but it is important just to know an order exists.

Expand Down