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]: ['A', '1797', 'h', '831', 'R', '1479', '847', '9057', '2253', '7111', 'M', 'p', '8749', 'm', '3599', '4911', 'c', 'X', '6719', '1513', '6901', '7125', '7697', 'W', 'x', 'G', 'L', 'J', 'W']
[EX A]: A, h, R, M, p, m, c, X, W, x, G, L, J, W, 1797, 831, 1479, 847, 9057, 2253, 7111, 8749, 3599, 4911, 6719, 1513, 6901, 7125, 7697

[EX Q]: ['G', 'Y', 'T', '4975', 'g', 'H', '8671', '8687', '6929', 'k', '905', '4059', 'Y', '329', 'K', '3181', '6691', '3095', 'g', 'J', '9233', 'f', 'C']
[EX A]: G, Y, T, g, H, k, Y, K, g, J, f, C, 4975, 8671, 8687, 6929, 905, 4059, 329, 3181, 6691, 3095, 9233

[EX Q]: ['9155', 'm', '4641', 'D', 'N', 's', '9553', 'H', '5493', 'p', 'B', 'q', '2885', '7717', '117', 'Z', '6175', 'o', 'd', '9349', 'y', 'j', '2605', '651', 'n', 'A', 'Y', 'l', '6765', 'P', '3183']
[EX A]:
m, D, N, s, H, p, B, q, Z, o, d, y, j, n, A, Y, l, P, 9155, 4641, 9553, 5493, 2885, 7717, 117, 6175, 9349, 2605, 651, 6765, 3183