fixes sorting on nil (again)