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: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']

SOLUTION: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413

PROBLEM: ['8483', 'i', '4619', '4427', '5069', '7591', '3907', '2137', 'H', 'Q', 'Z', '5591', 'i', '2141', '1775', '201', '1909', '1741', '3915', '3773', '41', '9661', '5061', '1643', '2313', 'u', 'Z']

SOLUTION: i, H, Q, Z, i, u, Z, 8483, 4619, 4427, 5069, 7591, 3907, 2137, 5591, 2141, 1775, 201, 1909, 1741, 3915, 3773, 41, 9661, 5061, 1643, 2313

PROBLEM: ['8763', 'E', 'Y', '1167', 'j', 'k', '2853', '8279', '4021', 'L', 'b', 'P', '7745', '6795', '5251', 'o', '441', '4309', 'D', '9109', 'q', '6363', '4831', '6027']

SOLUTION:
E, Y, j, k, L, b, P, o, D, q, 8763, 1167, 2853, 8279, 4021, 7745, 6795, 5251, 441, 4309, 9109, 6363, 4831, 6027