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]: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']
[A]: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487


[Q]: ['9557', '3765', 'u', '2523', '1195', '5499', 'Z', 'E', '3021', 'a', 'e', '6245', 'f', '8035', '7325', '3311', '3145', 'U', '9169', 'P', 'h', 'R', '8863', 'H', 'M', '4817', '6159', '359', 'x', 't', 'a', '2151']
[A]: u, Z, E, a, e, f, U, P, h, R, H, M, x, t, a, 9557, 3765, 2523, 1195, 5499, 3021, 6245, 8035, 7325, 3311, 3145, 9169, 8863, 4817, 6159, 359, 2151


[Q]: ['5993', '8971', '8763', '2863', 'r', 'S', '8045']
[A]:
r, S, 5993, 8971, 8763, 2863, 8045