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]: ['J', 'X', '4569', '8419', 'H', '7977', 'x', 'a', 'Q', '3953', '2337', 'u', '1317', 'i', 'j', '6933', '1053', '8345', '9831', 'a', '8859', '759', 'p', 'A', '7163']
[EX A]: J, X, H, x, a, Q, u, i, j, a, p, A, 4569, 8419, 7977, 3953, 2337, 1317, 6933, 1053, 8345, 9831, 8859, 759, 7163

[EX Q]: ['g', '5519', '3883', '8625', 'c', '9117', 'j', 'k', 'w', '6131', 'D', 'E', '1973', 'm', 'I', 'm', '1701']
[EX A]: g, c, j, k, w, D, E, m, I, m, 5519, 3883, 8625, 9117, 6131, 1973, 1701

[EX Q]: ['D', 'n', 'a', '3509', '2961', '7149', 'X', 'W', '9927', 'S']
[EX A]:
D, n, a, X, W, S, 3509, 2961, 7149, 9927