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


[Q]: ['1225', 'x', 'n', 'R', 'B', '6101', '4187', '2929', 'o', 's', '6833', 'X', '9405', 'h', '3631', '8333', 'C', '5867', '8845', '911', '3457', '4039', '6343', '2401', '1475', 'C', 'U', '7151', 'c', '9423', 'G', '9263', 'g', '6197', 'e', 'u']
[A]: x, n, R, B, o, s, X, h, C, C, U, c, G, g, e, u, 1225, 6101, 4187, 2929, 6833, 9405, 3631, 8333, 5867, 8845, 911, 3457, 4039, 6343, 2401, 1475, 7151, 9423, 9263, 6197


[Q]: ['4659', '1261', 't', '5727', 'i', '9263', 'F', '7573', 'y']
[A]:
t, i, F, y, 4659, 1261, 5727, 9263, 7573