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.

['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']
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

['1099', '8963', 'K', '9431', '6457', 'T', '2175', 'd', '6679', 'Y', '5003', 'M', '9273', 'M', 'D', '4781', 'z', 'C', '4579', '2231', '8291', '9123', 'E', '7209', 'U', '8237', '9277', '9443', 'e', '6145', '8827', 'M', 'q', '5363', 'H', '8781']
K, T, d, Y, M, M, D, z, C, E, U, e, M, q, H, 1099, 8963, 9431, 6457, 2175, 6679, 5003, 9273, 4781, 4579, 2231, 8291, 9123, 7209, 8237, 9277, 9443, 6145, 8827, 5363, 8781

['Y', '7897', '9263', 'g', 'R', 'p', 'M', '7411', 'm', '5211', '9195', 'K', '9291', 'e', 'v', '2417', '6799', 'G', 'z', '1965', '5603', '3111', '3621', '8623', '9375', '687', 'w', '7001', '3205', 'o', 'q', '4527']

Y, g, R, p, M, m, K, e, v, G, z, w, o, q, 7897, 9263, 7411, 5211, 9195, 9291, 2417, 6799, 1965, 5603, 3111, 3621, 8623, 9375, 687, 7001, 3205, 4527