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: ['5099', 'U', 't', 'b', 'Q', 'a', '9219', 'p', '463', 'H', '6407', '6749', 'G', 'M', '3207', '2351', '2541', '1543', 'o', 'i', 'k', '6119', 'x', 'Z', 's', 'b', '3567', 'M', '2565']

SOLUTION: U, t, b, Q, a, p, H, G, M, o, i, k, x, Z, s, b, M, 5099, 9219, 463, 6407, 6749, 3207, 2351, 2541, 1543, 6119, 3567, 2565

PROBLEM: ['l', '4777', '3081', '6583', '1665', '6677', '2663', 'D', 'y', 'J', '801', 'j', '5055', '2445', 'k', 'M', '7851']

SOLUTION: l, D, y, J, j, k, M, 4777, 3081, 6583, 1665, 6677, 2663, 801, 5055, 2445, 7851

PROBLEM: ['Q', '1761', '4103', '4455', 'q', '9153', 'z', 'l', '7619', '3307', 'A', 'm', 'Y', 't', 's', '5085', '7509', 'P', 'Z', 'c', 'D', '6415', '7817', '3821', 'U', 'U', 'd', 'r', 'F', '2955', 'f', '9309']

SOLUTION:
Q, q, z, l, A, m, Y, t, s, P, Z, c, D, U, U, d, r, F, f, 1761, 4103, 4455, 9153, 7619, 3307, 5085, 7509, 6415, 7817, 3821, 2955, 9309