Added first version of Total Order