AppsFlyer Interview Question

Sort a dictionary alphabetically with an inner order