This PR addresses a bug #523 in the job sorting functionality where sorting by maxSalary was not correctly pushing non-disclosed salary jobs to the end. The fix ensures that nulls: 'last' is applied only when sorting by maxSalary, while other fields (e.g., postedAt) use standard sorting logic without nulls. This resolves errors encountered when sorting by non-salary fields.