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]: ['z', '8187', '4529', '1919', 'P', 'z', '1201', '1097', '6543', '3119', '2985', '9259', '2779', '1863', 'c', '361', '5583', '1255', 'Z', 'B', 'E', '4107', 'B', 't', '8595', 't', 't', '8349', 'Z', 'G', 't', 'U', 'M', '5879', '9917', '6685', '5647']
[EX A]: z, P, z, c, Z, B, E, B, t, t, t, Z, G, t, U, M, 8187, 4529, 1919, 1201, 1097, 6543, 3119, 2985, 9259, 2779, 1863, 361, 5583, 1255, 4107, 8595, 8349, 5879, 9917, 6685, 5647

[EX Q]: ['X', '4861', '4531']
[EX A]: X, 4861, 4531

[EX Q]: ['d', 'w', '5001', 'm', 'L', '7359', 'f', 'r', '557', 'w', 'L', '4325', '5609', 'p', '7177', 'H']
[EX A]:
d, w, m, L, f, r, w, L, p, H, 5001, 7359, 557, 4325, 5609, 7177