Explanation
TheSORTBY functioncan sort values in a range with anarraythat doesn’t exist on the worksheet.
Use a positive 1 to sort in ascending order.
The range or array used to sort does not need to appear in results.
LEN will also count characters in numbers, but number formatting is not included.