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]: ['H', 'X']
[A]: H, X


[Q]: ['n', '4645', 't', 'A', '5319', 'e', '9771', '9493', '3891', '3385', 'Y', '523', 'L', 'k', '4211', 'b', '2273', 'A', 'v', 'D', '6079', '823', 'c', '989', '3477', 'c', '8799', '7277', 'y', 'p', '2709']
[A]: n, t, A, e, Y, L, k, b, A, v, D, c, c, y, p, 4645, 5319, 9771, 9493, 3891, 3385, 523, 4211, 2273, 6079, 823, 989, 3477, 8799, 7277, 2709


[Q]: ['4759', 't', 'w', '4553', '7693', 'T', '7053', 'X', 'Z', 'k', 'M', 'P', 'j', '5895', 'x', 'S', '7717', 'g', '2931', 'a', '7821']
[A]:
t, w, T, X, Z, k, M, P, j, x, S, g, a, 4759, 4553, 7693, 7053, 5895, 7717, 2931, 7821