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]: ['5039', 'O', 'A', '5619', 'P', '8261', '5983', '1779', 'M', '5919', '3361', '6323']
[EX A]: O, A, P, M, 5039, 5619, 8261, 5983, 1779, 5919, 3361, 6323

[EX Q]: ['H', '407', 'n']
[EX A]: H, n, 407

[EX Q]: ['Y', 'L', '225', '8325', 'E', 'w', '3991', 'R', '9047', '6129', '4891', '8465', '297', '9283', 'R', '5559', 'N', '7775', '555', '4967', 'G', 'i', '1517', '1901', '2029', '6683', 'p', '2571', 'm', 'L', '6283', 'P']
[EX A]:
Y, L, E, w, R, R, N, G, i, p, m, L, P, 225, 8325, 3991, 9047, 6129, 4891, 8465, 297, 9283, 5559, 7775, 555, 4967, 1517, 1901, 2029, 6683, 2571, 6283