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]: ['J', '3119', 'Q', '1463', 'I', '4493', 'Z', '2583', '1629', 'o', 'N', 'r', 'C', 'S', '6551', 'F', 'G', 'X', 'M', 'n', 'l', '2151', 'B', '5627', '8701', '9207', 's', '9867', 'L', '7129', '5139', '7195', '871']
[EX A]: J, Q, I, Z, o, N, r, C, S, F, G, X, M, n, l, B, s, L, 3119, 1463, 4493, 2583, 1629, 6551, 2151, 5627, 8701, 9207, 9867, 7129, 5139, 7195, 871

[EX Q]: ['3863', 'a', 'l', 'e', '6451', '2539', 'I', 'W', 'R', '4101', 'o', 'E', 't', '4735', '7121', '7719', '1491', '5911', '4091', '9045', '9619', 'I', 'W', 'K']
[EX A]: a, l, e, I, W, R, o, E, t, I, W, K, 3863, 6451, 2539, 4101, 4735, 7121, 7719, 1491, 5911, 4091, 9045, 9619

[EX Q]: ['l', 'Y', 'O', 'Q', 'i', '1233', '6587', 'B', 'n', '5185', '1599', '1067', '9659', '9753', 'F', 'Q', 'Z', '5367', 'g', '993', '6991', '701', 'N', '8641', '8871', '3555', 'w', 'R', '9203', 'v', 'R', '6405', '5225', 'l', 'g', '8127']
[EX A]:
l, Y, O, Q, i, B, n, F, Q, Z, g, N, w, R, v, R, l, g, 1233, 6587, 5185, 1599, 1067, 9659, 9753, 5367, 993, 6991, 701, 8641, 8871, 3555, 9203, 6405, 5225, 8127