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]: ['625', 't', '7989', 'R', 'c', '5593', 'w', 'P', 'P', 'v', 'A', '6183', '9889', '4839', 'z', 'E', '39', '3405', 'I', 'x', 'f', 'K']
[EX A]: t, R, c, w, P, P, v, A, z, E, I, x, f, K, 625, 7989, 5593, 6183, 9889, 4839, 39, 3405

[EX Q]: ['n', '157', 'F', 'a', 'y', 'r', 'R', 'v', '9255', 'R', '2983', '6891', 'y', 'J', '767', 'T', 'a', '2319', 'i', 'p', '9905', '4439', 'v', 'z', '2223', 'U', '93', 'z', '3697', '107', '5911']
[EX A]: n, F, a, y, r, R, v, R, y, J, T, a, i, p, v, z, U, z, 157, 9255, 2983, 6891, 767, 2319, 9905, 4439, 2223, 93, 3697, 107, 5911

[EX Q]: ['N', 'i', 'X', '1947', '8329', 'D', 'd', '1237', 'G', '6725', '9869', '5903', 'D', 'l', '3263', 'L', '3231', 'P', '7117', '5827', 'k', '1359', 'Z', 'A', '8273', '8305', '1277', 'Z', 'c', 'c', 'k', 'x', 'Q', '9705', '4719', 'L', '6305', 'c', 'h']
[EX A]:
N, i, X, D, d, G, D, l, L, P, k, Z, A, Z, c, c, k, x, Q, L, c, h, 1947, 8329, 1237, 6725, 9869, 5903, 3263, 3231, 7117, 5827, 1359, 8273, 8305, 1277, 9705, 4719, 6305