Learn why this error occurs and how to solve it.

TypeError: '<' not supported between instances of 'X' and 'X'. How to make your objects sortable.

If you are watching this, you probably just got type error: TypeError: '<' not supported between instances of 'X' and 'X'. In this video you learn why this error occurs and how to solve it.

Written by Loek van den Ouweland on 2023-11-03.
Questions regarding this artice? You can send them to the address below.