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: ['G', '2125', 'Z', 'O', 'Z', 'E', '2973', '2853', 'S', '8863', 'z', 'T']

SOLUTION: G, Z, O, Z, E, S, z, T, 2125, 2973, 2853, 8863

PROBLEM: ['U', '3969', 'X', 'D', '1321', '749', '6621', 'f', 'd', 'i', 's', '8399', 'P', '9363', '495', 'e', 'o']

SOLUTION: U, X, D, f, d, i, s, P, e, o, 3969, 1321, 749, 6621, 8399, 9363, 495

PROBLEM: ['8503', '8923', '1189', '1921', '3807', '1567', '8833', 'd', '5635', '6851', 'd', 'x', '1833', '6573', 'x', 'm', '8361', '9749', '2495', 'Z', '1469', 't', '3001', '8171', '9353', '7545', 'U', 'W', '4359', 'V', '8693', 'u', '7831', '607', 'K', 'B', 'O']

SOLUTION:
d, d, x, x, m, Z, t, U, W, V, u, K, B, O, 8503, 8923, 1189, 1921, 3807, 1567, 8833, 5635, 6851, 1833, 6573, 8361, 9749, 2495, 1469, 3001, 8171, 9353, 7545, 4359, 8693, 7831, 607