Harry

When I use that custom sort it seems to work just fine.

Of course I did that manually, not with code.

Could you attach a workbook with some sample data?