removed a log statement
add some logs to debug the sort order