Scale Interview Question

Reording strings based on letter frequency