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.

['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

['l', '8853', 'P', 'u', '9699', '9401', 'X', '2757', 's', '4665', 'h', '7999', 'f', '2975', 'l', '3303', '3379', 'H', '8431', 'X', 'd', 'C', 'G', '8945', 'u']
l, P, u, X, s, h, f, l, H, X, d, C, G, u, 8853, 9699, 9401, 2757, 4665, 7999, 2975, 3303, 3379, 8431, 8945

['4213', 'o', 'c', '4043', '3573', '3409', 'T']

o, c, T, 4213, 4043, 3573, 3409