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.

[Q]: ['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']
[A]: y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771


[Q]: ['8017', 'l', '5589', 'q', 'u', 'x', '9165', 'T', 'O', 'H', 'Y', '8265', '5893', '3977', 'w', '9953', 'e', '4913', 'Q', 'f', 'U', 'L', '2097', 'B', 'L', 'z', '151', 'S', '4955', '7769', 'N', '5601', 'w', 'i', '5761', 'c', 'H']
[A]: l, q, u, x, T, O, H, Y, w, e, Q, f, U, L, B, L, z, S, N, w, i, c, H, 8017, 5589, 9165, 8265, 5893, 3977, 9953, 4913, 2097, 151, 4955, 7769, 5601, 5761


[Q]: ['f', '6205', 'P', '3703', '2003', 'Q', '5525', '399', '7423', '2451', 'Z', 'q', '5909', 'z', 'S', '2829', 'R', 'x', '4703', '9471', '1593', 'R', '9839', '997', 'N', 'z', 'd', '3091', 'q', '7687', '9835', '3773', '2647', '4503', '2897']
[A]:
f, P, Q, Z, q, z, S, R, x, R, N, z, d, q, 6205, 3703, 2003, 5525, 399, 7423, 2451, 5909, 2829, 4703, 9471, 1593, 9839, 997, 3091, 7687, 9835, 3773, 2647, 4503, 2897