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]: ['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
[A]: P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939


[Q]: ['3805', 'd', 'V', 'u', '1395', '7337', '97', '6289', '5041', '8097', 'x', 'w', '7241', '2791', 'P', 'o', '7587', '6955', '9121', '599']
[A]: d, V, u, x, w, P, o, 3805, 1395, 7337, 97, 6289, 5041, 8097, 7241, 2791, 7587, 6955, 9121, 599


[Q]: ['2217', 'X', 'z', 'B', '9749', '5223', 't', '1805', 'q', 'U', '6795', '5787', 'F', '427', 'V', 'h', '3527', '5357', '2379', '7987', '9187', '4215', 'd', '4977', 'S', 'Z', 'f', 'l', 'N', 'o', '6943', 'i', 'X']
[A]:
X, z, B, t, q, U, F, V, h, d, S, Z, f, l, N, o, i, X, 2217, 9749, 5223, 1805, 6795, 5787, 427, 3527, 5357, 2379, 7987, 9187, 4215, 4977, 6943