More logging to figure out why my sorting isn't working.