Add rudimentary sorting
Make __eq__ more readable (no speed difference)