add log to file
correct sorting policy