lexilogical ordering problem solved. utils modified with new factorize function