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: ['j', '2329', 'X', '5229', '3403', '9495', '6639', '4575', '3763', 'B', 'O', '5117', 's', 'T', '8537', 'x', 'c', 'A', 'k', '1259', 's', 'N', 'A']

SOLUTION: j, X, B, O, s, T, x, c, A, k, s, N, A, 2329, 5229, 3403, 9495, 6639, 4575, 3763, 5117, 8537, 1259

PROBLEM: ['u', '587', 'T']

SOLUTION:
u, T, 587