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]: ['n', '5465', '5621', '9305', 'p']
[A]: n, p, 5465, 5621, 9305


[Q]: ['1099', '8963', 'K', '9431', '6457', 'T', '2175', 'd', '6679', 'Y', '5003', 'M', '9273', 'M', 'D', '4781', 'z', 'C', '4579', '2231', '8291', '9123', 'E', '7209', 'U', '8237', '9277', '9443', 'e', '6145', '8827', 'M', 'q', '5363', 'H', '8781']
[A]: K, T, d, Y, M, M, D, z, C, E, U, e, M, q, H, 1099, 8963, 9431, 6457, 2175, 6679, 5003, 9273, 4781, 4579, 2231, 8291, 9123, 7209, 8237, 9277, 9443, 6145, 8827, 5363, 8781


[Q]: ['m', '5241', '2121', 'G', '4407', '7269', 'Q', 'm', '3305', '8947', 'T', '1763', '7725', '9499', '1753', '7145', '4099', '6189', 'l', '9401', 'T', 'b', 'D', '8345']
[A]:
m, G, Q, m, T, l, T, b, D, 5241, 2121, 4407, 7269, 3305, 8947, 1763, 7725, 9499, 1753, 7145, 4099, 6189, 9401, 8345