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]: ['5517', 'D', '4687', '7619', 'L', '6063', 'Z', 'v', '411', 'f', '8321', 'S', '7131', '5297', 'S', '2445', 'l', 'z', 'Z', 'D', 'j', '2007', 'f', '3147', '3659', '2051']
[EX A]: D, L, Z, v, f, S, S, l, z, Z, D, j, f, 5517, 4687, 7619, 6063, 411, 8321, 7131, 5297, 2445, 2007, 3147, 3659, 2051

[EX Q]: ['3501', 'g', 'Z', 'Q', '867', '1659', '4049', '7137', 'r', 'Q', '1759', 'W', '667', '1997', 'D', '3655', 'h', '2805', 'R', '5181']
[EX A]: g, Z, Q, r, Q, W, D, h, R, 3501, 867, 1659, 4049, 7137, 1759, 667, 1997, 3655, 2805, 5181

[EX Q]: ['x', '3895', '7667', '7797', '8157', 'Y', '1505', '2615', '3451']
[EX A]:
x, Y, 3895, 7667, 7797, 8157, 1505, 2615, 3451