Fixed the Sort with NA