TASK DEFINITION: In this task, you are given an input list. A list contains several comma-separated items written within brackets. You need to collate all the alphabetical elements at the start of the list followed by all the numerical elements of the list. Maintain the order in which the alphabetical elements appear in the given input list, and do the same for the numerical elements.
PROBLEM: ['9929', '1121', '7789', '2189', '6513', 's', '7111', '2125', 'G', 'q', '3003', '2751', '4481', '4111', '447', 'J', '673', '8357', '6187', '3055']

SOLUTION: s, G, q, J, 9929, 1121, 7789, 2189, 6513, 7111, 2125, 3003, 2751, 4481, 4111, 447, 673, 8357, 6187, 3055

PROBLEM: ['Y', '1979', 'c', 'A', 'Y', 'i', 'B']

SOLUTION: Y, c, A, Y, i, B, 1979

PROBLEM: ['m', '5981', '873', '935', '6413', '8021', '5457', 'h', 'h', '7587', '753', 'P', '2699', '2727', '825', '4387', '2405', 'y', 'A']

SOLUTION:
m, h, h, P, y, A, 5981, 873, 935, 6413, 8021, 5457, 7587, 753, 2699, 2727, 825, 4387, 2405