Make tid == 0 get sorted last