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: ['9829', '5959', '1309', 'p', 'e', '4643', '5113', 'Z', '8103', 'f', 'p', 'B', 'D', '5305', 'U', '1867', 'r', 'K', '5249', 'w', 'Z', 'y', 'O', 'b', 'F', '9713', 'F', 'Z', 'l', '4163', '7839', '9779', '4343', 'A']

SOLUTION: p, e, Z, f, p, B, D, U, r, K, w, Z, y, O, b, F, F, Z, l, A, 9829, 5959, 1309, 4643, 5113, 8103, 5305, 1867, 5249, 9713, 4163, 7839, 9779, 4343

PROBLEM: ['q', 'Y', '6597', '6127', '8955']

SOLUTION: q, Y, 6597, 6127, 8955

PROBLEM: ['o', '1441', 'f', 'K', '9453', 'g', 'Q', '4693', '4309', 'V', '9987', '2571', '4535', 'o', 'G', '6679', '2719', 'M']

SOLUTION:
o, f, K, g, Q, V, o, G, M, 1441, 9453, 4693, 4309, 9987, 2571, 4535, 6679, 2719