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]: ['C', 'l', 'm', 'i', '5697', '6923', '4875', 'N', 'E', '8035', 'I', 'h', 'K', 'x', 'q', '645', '9387', 'Z', '4217', 'm']
[EX A]: C, l, m, i, N, E, I, h, K, x, q, Z, m, 5697, 6923, 4875, 8035, 645, 9387, 4217

[EX Q]: ['m', '3101', '8627', 'p', '5923', 'S', 'Z', '37', '5807', 'N', 'U', '4511', '1065', '173', 'J', '1343', 't', '2081', 'd', '6249', '527', 'z', 'i', '5497', '2309', 'N', 'g', 'U', '6609', 'L', '7373', '6897', '1361', '8413', 'b', 'k', 'Y']
[EX A]: m, p, S, Z, N, U, J, t, d, z, i, N, g, U, L, b, k, Y, 3101, 8627, 5923, 37, 5807, 4511, 1065, 173, 1343, 2081, 6249, 527, 5497, 2309, 6609, 7373, 6897, 1361, 8413

[EX Q]: ['3335', '1141', 'L', '5811', '9989', '1395', '5207', 'c', 'y', '2905', '1151', 'F', '1609', 'Y', '485', '8225', '2243', '1065', 'K', '5585', '2263', 'h', 'V', 'e', '7761', 'x', '3735', '1575', '4377', 'E', 'o', 'z', '159', 'H', 'N', '1307', 'W', 'W', 'w']
[EX A]:
L, c, y, F, Y, K, h, V, e, x, E, o, z, H, N, W, W, w, 3335, 1141, 5811, 9989, 1395, 5207, 2905, 1151, 1609, 485, 8225, 2243, 1065, 5585, 2263, 7761, 3735, 1575, 4377, 159, 1307