def METHOD_NAME(argv):
    if ( len(argv) != 3 ):
        print_usage(argv[0])
        return(1)
    infile = argv[1]
    outfile = argv[2]    
    type, name, dval, desc = parse_file(infile)
    lst = sort(type, name, dval, desc)
    write_out(lst, outfile)
    return(0)