Make models comparable

Just some basic functionality to prevent having to write really simple comparators