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: ['i', '1565', '581', 'D', 'i', 'k', 'i', 'o', 'p', '1147', '4847', 'G', 'W', '6881', 'm', 'h', 'z', '3613', 's', 't', '7921', '4837']

SOLUTION: i, D, i, k, i, o, p, G, W, m, h, z, s, t, 1565, 581, 1147, 4847, 6881, 3613, 7921, 4837

PROBLEM: ['P', 'Q', 'G', '3885', 'f', 'n', 'y', 'H', 'c', 'g', 'X', 'J', '2587', '93', 'P', 'k', 'x', '1777', 'L', '837', '8557', 'x', '1031', '1023', '5725', '5547', '2737', 'L']

SOLUTION: P, Q, G, f, n, y, H, c, g, X, J, P, k, x, L, x, L, 3885, 2587, 93, 1777, 837, 8557, 1031, 1023, 5725, 5547, 2737

PROBLEM: ['3257', 'G', '7391', '5407', 'I', '7473', '4099', 'm', '8035', '7611', '3411', 'D', 'A', 'D', '3347', 'a', 'c', '8421', '9595', '1233', 'J', '571', 's', 'b', '565', '733', '129', '7023', 'U', '9127', '7201', '7841', 'Z', 'n', 'D']

SOLUTION:
G, I, m, D, A, D, a, c, J, s, b, U, Z, n, D, 3257, 7391, 5407, 7473, 4099, 8035, 7611, 3411, 3347, 8421, 9595, 1233, 571, 565, 733, 129, 7023, 9127, 7201, 7841