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: ['2233', '9465', '4759', 'c', '1145', '6207', 'M', 'e', 'Y', 'J', '6549', '9775', '5965', '7787']

SOLUTION: c, M, e, Y, J, 2233, 9465, 4759, 1145, 6207, 6549, 9775, 5965, 7787

PROBLEM: ['v', '4855', 'U', '1143', '299', '7257', 'U', '7749', 'G', 'Y', 'f', 't', '8953', '9719', 'T', 'M', 'w', 'S', '5935', '9303', '4971', '887', 'p', '4953', '5109', 't', '7827', '7537', '1299']

SOLUTION: v, U, U, G, Y, f, t, T, M, w, S, p, t, 4855, 1143, 299, 7257, 7749, 8953, 9719, 5935, 9303, 4971, 887, 4953, 5109, 7827, 7537, 1299

PROBLEM: ['Y', '9855', '9231', '9865', 'p', 'c', 'E', '4465', 'S', '1637', '2411', '7767', 'q', '2819', 't', '8151', '1447', 'c', 'y', '4847', '9263', 's', 'w', 'F', '4329', '6233', '6755', 'y', '5167', 'S', 'w', '9105', 'x', '2413', '7207', 't', 'x', 'h']

SOLUTION:
Y, p, c, E, S, q, t, c, y, s, w, F, y, S, w, x, t, x, h, 9855, 9231, 9865, 4465, 1637, 2411, 7767, 2819, 8151, 1447, 4847, 9263, 4329, 6233, 6755, 5167, 9105, 2413, 7207