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.

['3497', 'P', 'B', 'L', '2433', 'u', 'y', 'M', 'd', '7085', '8935', '7701', '3829', 'd', 'i', 'd', '4091', 'X', 'Q', 'd', '4139']
P, B, L, u, y, M, d, d, i, d, X, Q, d, 3497, 2433, 7085, 8935, 7701, 3829, 4091, 4139

['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']
n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139

['Q', '1347', '183', '9987', 'R', '8859', '1803', '6539', '5519', '3523', '6045', 'Q', 'N', '5525', '9717', 'l', '7939', '9685', '1295', 'u', 'Q', '3643', 'k', 'O', '2083', 'H', '5159', 'p', '3009', '4153', 's', 'r', '4891', '5537', '6273', 'K', 'y', 'X', '3311', '7627']

Q, R, Q, N, l, u, Q, k, O, H, p, s, r, K, y, X, 1347, 183, 9987, 8859, 1803, 6539, 5519, 3523, 6045, 5525, 9717, 7939, 9685, 1295, 3643, 2083, 5159, 3009, 4153, 4891, 5537, 6273, 3311, 7627