'''
Created on 16.01.2013

@author: mihai_000
'''

def compareInts(x, y):
    if x<y:
        return -1
    elif x==y:
        return 0
    else:
        return 1
    
def compareNames(x, y):
    if x<y:
        return -1
    elif x==y:
        return 0
    else:
        return 1