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: ['8101', 'g', 'a', 'S', 'M', 'M', '9499', '4027', 'c', '6661', '783', 'O', '4471', '6575', '6045', 'i', '1561', '5103', 'l', '4653', '3']

SOLUTION: g, a, S, M, M, c, O, i, l, 8101, 9499, 4027, 6661, 783, 4471, 6575, 6045, 1561, 5103, 4653, 3

PROBLEM: ['757', 'c', 'E', 'h', 'E', '2539', 'n', '5969', '6483', 'R', 'q', '7635', 'c', '8813', 'i', '3751', 'c', 'K', '6285', 'I', 'Q']

SOLUTION: c, E, h, E, n, R, q, c, i, c, K, I, Q, 757, 2539, 5969, 6483, 7635, 8813, 3751, 6285

PROBLEM: ['6245', 'q', 'U', '1185', 'c', 'h', 'z', 'o', 'N', '3309', '8883', '939', '4601', '9207', '6479', 'b', 'w', '6525', '9891', '8709', 'o', 'X', '5341', '1701', 'm', 'L', '4513', 'l', '783', 'q', 'W']

SOLUTION:
q, U, c, h, z, o, N, b, w, o, X, m, L, l, q, W, 6245, 1185, 3309, 8883, 939, 4601, 9207, 6479, 6525, 9891, 8709, 5341, 1701, 4513, 783