Introduced lexicographical ordering for the serialization modules.