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]: ['4259', '4973', '181', '5487', '825', 'E', '1663', '9783', 'U', 'a', 'W', '3997', 'M', 'x', 'M', 'h', '4489', '9773', 'f', '3967', '8857', 'Z', 'O', 'O', 'Q', 'K', '8201', 'U']
[A]: E, U, a, W, M, x, M, h, f, Z, O, O, Q, K, U, 4259, 4973, 181, 5487, 825, 1663, 9783, 3997, 4489, 9773, 3967, 8857, 8201


[Q]: ['8277', 'p', '4245', '3333', '7825', '765', '2579', 'X', '2953', 'E', '5121', 'X', '1697', 'q', 'Y', '9103', 'J', '129', '6221', '6743', 'Z', '6467', 'V', '5703', '8161', '5603', '4229', '8039', '1455', '2663', 'O', '9853', '3853', '6987', '9699', 'P', '9929']
[A]: p, X, E, X, q, Y, J, Z, V, O, P, 8277, 4245, 3333, 7825, 765, 2579, 2953, 5121, 1697, 9103, 129, 6221, 6743, 6467, 5703, 8161, 5603, 4229, 8039, 1455, 2663, 9853, 3853, 6987, 9699, 9929


[Q]: ['v', '5193', 'a', '437', '8607', '6077', '9609', 'c', 'C', 'T', '761', '8369', '7155', 'I', '9755', '1511', 'F', '4919', '3879', 'S']
[A]:
v, a, c, C, T, I, F, S, 5193, 437, 8607, 6077, 9609, 761, 8369, 7155, 9755, 1511, 4919, 3879