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: ['g', '9423', '4427', 'e', 'F', '4515', 'h', '7379', '543', '5923', '347', '1559', '7095', 'G', '8737', '1119', '8573', '6291', '1261', 'z', '7253', 'N', '5341']

SOLUTION: g, e, F, h, G, z, N, 9423, 4427, 4515, 7379, 543, 5923, 347, 1559, 7095, 8737, 1119, 8573, 6291, 1261, 7253, 5341

PROBLEM: ['n', '7651', 'l', '1629', 'w', '1795', '1237', '1201', '861', '9627', '1403', '5641', '5905', 'h', '9585', '9561', '6387', '9037', '1643', '4759', '4749']

SOLUTION: n, l, w, h, 7651, 1629, 1795, 1237, 1201, 861, 9627, 1403, 5641, 5905, 9585, 9561, 6387, 9037, 1643, 4759, 4749

PROBLEM: ['b', '8999', '4749', 'h', 'o', '5243', '8739', '3693', 'A', '8553', 'q', 'g', '4757', 'n', '293', '2559', 'q', '4103', 'R', '9251', 'M', 's', 'q', 'l', '4263', 'C', '2879', 'v', '8905', 'w', '8363', 'l', 'H', 'H', '2345']

SOLUTION:
b, h, o, A, q, g, n, q, R, M, s, q, l, C, v, w, l, H, H, 8999, 4749, 5243, 8739, 3693, 8553, 4757, 293, 2559, 4103, 9251, 4263, 2879, 8905, 8363, 2345