Implement comparable where it could be needed

For example it could be necessary to order names alphabetical.