nil values do not affect order