SSIS uses the Windows collation (Case-Sensitive) and SQL Server uses SQL collation (Case-Insensitive, by default). You can either adjust the SQL sort to SSIS or the SSIS sort to SQL.
So it shows the different result when you compare N'a-' and N'-a-' using T-SQL and SSIS.
As said in Sort Transformation.
You may also refer to Sorting in SQL vs sorting in SSIS
Regards,
Zoe Hui
If the answer is helpful, please click "Accept Answer" and upvote it.