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.

[EX Q]: ['7643', '1863', 'D', '2397', 'Y', 'A', 'd', '8747', 'D', 'O', '7995', '8713', '2757', '3379', '5481', '3891', '6383', '8981', 'N', '2679', 'O', '5435', '5619', 'g', '4561', 'm', 'T', '2791', 'Q', '2441', '1601', 'K', '5897', '7117', '4835']
[EX A]: D, Y, A, d, D, O, N, O, g, m, T, Q, K, 7643, 1863, 2397, 8747, 7995, 8713, 2757, 3379, 5481, 3891, 6383, 8981, 2679, 5435, 5619, 4561, 2791, 2441, 1601, 5897, 7117, 4835

[EX Q]: ['Z', '6277', '2029', 'w', '6679', '9161', 'P', 'N', 'v']
[EX A]: Z, w, P, N, v, 6277, 2029, 6679, 9161

[EX Q]: ['K', '7625', 'k', 'U', '2353', 'D', '1357', 'Q', 'A', 'R', 'L', '1973', 'v', '801', '6555', 'Y', '5635', 'T', '5973', 'a', 'J', 'X', '5455', '4743', 'A', '6747', 'p', '8945', '2953', '641', '6621']
[EX A]:
K, k, U, D, Q, A, R, L, v, Y, T, a, J, X, A, p, 7625, 2353, 1357, 1973, 801, 6555, 5635, 5973, 5455, 4743, 6747, 8945, 2953, 641, 6621