The sustainable city and smart city: measuring the urban entropy first