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.

[Q]: ['p', '5531', '2467', '7415', 'w', '2487', 'V', '965', 'O', 't', '6221', 'J', 'J', '5297', 'v', '4443', 'w', 'D']
[A]: p, w, V, O, t, J, J, v, w, D, 5531, 2467, 7415, 2487, 965, 6221, 5297, 4443


[Q]: ['8113', 'd', 'c', '3769', 'j', 'r', 'i', '1727', '7391', '6503', 'r', 'B', 'x', '3925', '4703', '5937', 'c', 'Y', '1333', 'X', '4801', 'B', '4285', '4381', '1285']
[A]: d, c, j, r, i, r, B, x, c, Y, X, B, 8113, 3769, 1727, 7391, 6503, 3925, 4703, 5937, 1333, 4801, 4285, 4381, 1285


[Q]: ['4367', 'd', '869', '9437', '1241', '5197', '9561', '1617', '1021', '2239', '6355', 'G', 'P', '5951', 'S', 'j', '617', 'w', 'T', 'j', 'R', 'h', 'f', 'g']
[A]:
d, G, P, S, j, w, T, j, R, h, f, g, 4367, 869, 9437, 1241, 5197, 9561, 1617, 1021, 2239, 6355, 5951, 617