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: ['8549', 'b', 'k', '9771', 'v', 'Q', 'p', '1247', 'W', '3439', '5667', '4653', 'y', '4473', '7865', '1397', '2493', '1669', '5333', '7027', '5617', '5935', '6787', '4141', '4151']

SOLUTION: b, k, v, Q, p, W, y, 8549, 9771, 1247, 3439, 5667, 4653, 4473, 7865, 1397, 2493, 1669, 5333, 7027, 5617, 5935, 6787, 4141, 4151

PROBLEM: ['q', '8387']

SOLUTION: q, 8387

PROBLEM: ['1405', 'G', 'Q', '8907', 'k', 'Y', 's', '9947', 'd', 'Z', 'w', '8677', '7099', '2237', '6747', 'b', '5355', 'k']

SOLUTION:
G, Q, k, Y, s, d, Z, w, b, k, 1405, 8907, 9947, 8677, 7099, 2237, 6747, 5355