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]: ['P', '6987', '9279', 'c', 'A', '9533', 'X', '8511', 's', 'O', 'i', 'a', '4939']
[EX A]: P, c, A, X, s, O, i, a, 6987, 9279, 9533, 8511, 4939

[EX Q]: ['2397', '1403', '7057', 's', 'e', 'd', 'n', '1851', 'n', '5057']
[EX A]: s, e, d, n, n, 2397, 1403, 7057, 1851, 5057

[EX Q]: ['H', '5947', 'E', '4151', 'M', '5361', 'k', '631', 'c', 'c', '1827', '509', '5711', '2465', 'f', 'f', 'd', '6985', 'g']
[EX A]:
H, E, M, k, c, c, f, f, d, g, 5947, 4151, 5361, 631, 1827, 509, 5711, 2465, 6985