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]: ['x', 'u', '6687', '3617', '4795', '3665', 'A', '4355', '9183', '3477', 'B', 'P', 't', 'L', 'G', 'o', 'c', 'U', 'n', '1453', '2499', 'B', 's', 'd', 'm', 'n', '959', 'K', 'H', '9159', 'H', '8191', 'B', '4837', '9287', '7891', '8529', '3229', '377']
[EX A]: x, u, A, B, P, t, L, G, o, c, U, n, B, s, d, m, n, K, H, H, B, 6687, 3617, 4795, 3665, 4355, 9183, 3477, 1453, 2499, 959, 9159, 8191, 4837, 9287, 7891, 8529, 3229, 377

[EX Q]: ['e', 'b', '7265', 'K', '9419', '2933', 's', 'e', '8667', '6513', '7981', 'E', '3581', 'G', '2255', '9305', 'U', 'b', '2901', '9257', 'X', '9243', '4889', 'y', '9499', '6817', 'j', '295']
[EX A]: e, b, K, s, e, E, G, U, b, X, y, j, 7265, 9419, 2933, 8667, 6513, 7981, 3581, 2255, 9305, 2901, 9257, 9243, 4889, 9499, 6817, 295

[EX Q]: ['M', '2389', 'U', '5003', 'x', '2727', '1061', '1433']
[EX A]:
M, U, x, 2389, 5003, 2727, 1061, 1433