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]: ['D', 'r', '4449', 'Z', '5365', '1', 'O', 'S', 'A', '9963', '3923', '7051', '8531', '2529', 'E', '1319', '6455', '593', 'N', 'M', 'O']
[EX A]: D, r, Z, O, S, A, E, N, M, O, 4449, 5365, 1, 9963, 3923, 7051, 8531, 2529, 1319, 6455, 593

[EX Q]: ['K', '797', '3531', 't', 'e', '2261']
[EX A]: K, t, e, 797, 3531, 2261

[EX Q]: ['g', 'H', '2459', 'p', 'v', 'i', 'X', '4239', '1665', 'h', '6397', 'b', '1235', '3953', 'G', 'y']
[EX A]:
g, H, p, v, i, X, h, b, G, y, 2459, 4239, 1665, 6397, 1235, 3953