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: ['E', 'A', '4473', '6193', 'a', 'j', 'q', 'X', '4699', '3557', 'c', 'E', '869', '7195', '6103', '2727', '2717', '8217', '4767', '2127', '9591', 'Y', 'z', 'e', 'H', 'D', '7319', 'v', 'i', '7817']

SOLUTION: E, A, a, j, q, X, c, E, Y, z, e, H, D, v, i, 4473, 6193, 4699, 3557, 869, 7195, 6103, 2727, 2717, 8217, 4767, 2127, 9591, 7319, 7817

PROBLEM: ['H', 'x', '959', 'J', 'p', '7515', '1861', '9627', '7409', '9055', '1595', 'h', 'i', 'F', '3911', 'G', 's', '2969', '5329', '3219', 'Q', 'k', 'r', 'l', 'o', 'F', '4987', '1231', 'V', '4403', 'Q', 's', 'B']

SOLUTION: H, x, J, p, h, i, F, G, s, Q, k, r, l, o, F, V, Q, s, B, 959, 7515, 1861, 9627, 7409, 9055, 1595, 3911, 2969, 5329, 3219, 4987, 1231, 4403

PROBLEM: ['9205', 'J', 'p', '3939', 'F', '3939', '9147', 'B', '9449', '3997', '1895', 'D', 'X', '7629', '6127', '5081', '993', 's', 'A', '3327', '1197', '7817', '2879', '2661', 'g', 'q', 'z', 'J', 'I', 'Y', 'N', 'D', '2759', 'e', 'H', '2335', '5247', '655', 'n']

SOLUTION:
J, p, F, B, D, X, s, A, g, q, z, J, I, Y, N, D, e, H, n, 9205, 3939, 3939, 9147, 9449, 3997, 1895, 7629, 6127, 5081, 993, 3327, 1197, 7817, 2879, 2661, 2759, 2335, 5247, 655