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]: ['S', '8365', 'C', '9185', 'd', 'Z', 'R', '2537', 'r', '5021', '7251', '8567', '4061', '3311', '6439', '5359', 'x', '9931', '87', '2169', '9021', '195', 'N', 'o', 'K', '747', 'h', '6187', 'x', 'n', 'p', '1219', 'P', '4661', 'c', 'm', '5775', 'u', '5929', 'G']
[A]: S, C, d, Z, R, r, x, N, o, K, h, x, n, p, P, c, m, u, G, 8365, 9185, 2537, 5021, 7251, 8567, 4061, 3311, 6439, 5359, 9931, 87, 2169, 9021, 195, 747, 6187, 1219, 4661, 5775, 5929


[Q]: ['7683', 'l', '5195', 'P', '2049', '6993', '3485', 'M', '9371', '749', 'I', 's', 'h', 'I', 'z', '3759', '6461', 's', 'a', 'L', 'n', '8593', '4651', 'z', '6629', 'U', 't', '9115', '7817', 'R', 'W', 'v', '5313', '7125', 'e', 'b', 'X', 'S', '4445', 'Q']
[A]: l, P, M, I, s, h, I, z, s, a, L, n, z, U, t, R, W, v, e, b, X, S, Q, 7683, 5195, 2049, 6993, 3485, 9371, 749, 3759, 6461, 8593, 4651, 6629, 9115, 7817, 5313, 7125, 4445


[Q]: ['m', 'Y', 'v', '6271', '787', '8777', 'Y', 'v', '5167']
[A]:
m, Y, v, Y, v, 6271, 787, 8777, 5167