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: ['6613', 'L', '2091', 'd', '6243', '6159', '7853', 'q', '1383', '4761', 'P', '3547', 'i', '5319', 'v', '2209', '3085', '3563', 'h', 'r', 's', 'I', 'F', 'Q', '1429', '9731', 'E', '4879', '1507', 'B', 'D', '2507', '295', '7197', '4025', '7091', 'X']

SOLUTION: L, d, q, P, i, v, h, r, s, I, F, Q, E, B, D, X, 6613, 2091, 6243, 6159, 7853, 1383, 4761, 3547, 5319, 2209, 3085, 3563, 1429, 9731, 4879, 1507, 2507, 295, 7197, 4025, 7091

PROBLEM: ['k', 'b', '8223', '1601', '5477', '2765', 'a', 'l', 'y', 's', 'z', '2811', 'a', '2141', 'a', 'd', '2991', '9611']

SOLUTION:
k, b, a, l, y, s, z, a, a, d, 8223, 1601, 5477, 2765, 2811, 2141, 2991, 9611