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]: ['q', 'y', 'h', '6797', 'm', 'p', '3303', '4349', '9779', '6367', '3107', 'R', 'C', '6105', '6165', '6611', 'O', '6697', 'l', 'L', 'Q', '8817', 'x']
[EX A]: q, y, h, m, p, R, C, O, l, L, Q, x, 6797, 3303, 4349, 9779, 6367, 3107, 6105, 6165, 6611, 6697, 8817

[EX Q]: ['6327', 'T', '7351', '7691', '7073', 'G', 'Z', '3937', 'E', 'b', 'n', 'K', '9', '9959', '6143', '9415', 'D', '9697', 's', '9493', '7177', '4965', '3285', '8229']
[EX A]: T, G, Z, E, b, n, K, D, s, 6327, 7351, 7691, 7073, 3937, 9, 9959, 6143, 9415, 9697, 9493, 7177, 4965, 3285, 8229

[EX Q]: ['4457', 'b', '1797', '9479', '9945', '5291', 'o', '5837', 'A', 'N', '2297', '2973', '9633', '4575', '2383', 'm', 'S', 'q', 'p', '8041']
[EX A]:
b, o, A, N, m, S, q, p, 4457, 1797, 9479, 9945, 5291, 5837, 2297, 2973, 9633, 4575, 2383, 8041