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]: ['6339', 's', 'y', '8869', '1179', 'L', 'M', 'H', 'G', '1989', 'm', 'x', '8581', '1917', 'Q', '5041', '6379', '4323', '417', '1251', '5483', '1927', '2315', '9079', '2089', 'N', '2731', '4553', 'I', '1791', '9797', 'k', 'r', 'D', 'x']
[A]: s, y, L, M, H, G, m, x, Q, N, I, k, r, D, x, 6339, 8869, 1179, 1989, 8581, 1917, 5041, 6379, 4323, 417, 1251, 5483, 1927, 2315, 9079, 2089, 2731, 4553, 1791, 9797


[Q]: ['1023', '7407', 'q', 'J', '2193', '4717', 'l', 'y', '1633', '5025', '4635', 'R', '9735']
[A]: q, J, l, y, R, 1023, 7407, 2193, 4717, 1633, 5025, 4635, 9735


[Q]: ['9047', 'N', 'Z', 'F', 'w', '3213', '1879', 't', '7085', '7905', 'Y', '5275', '7727', '3113', 'v', '2487', '4025', 'o', 't', '9441', '1641', '7847', 'l']
[A]:
N, Z, F, w, t, Y, v, o, t, l, 9047, 3213, 1879, 7085, 7905, 5275, 7727, 3113, 2487, 4025, 9441, 1641, 7847