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.

['8831', '9289', '1655', '673', '7449', 't', 'L', '6689', '3789', '7409', 'g', '7683', 'Y', 'c', '5203', 'e', '207', 'M', 'k', 'X', '787']
t, L, g, Y, c, e, M, k, X, 8831, 9289, 1655, 673, 7449, 6689, 3789, 7409, 7683, 5203, 207, 787

['7427', '3515', '7523', '4159', '3001', '2821', 'h', 'D', 'p', 'R', '5721', 'O', 'M', '9639', 'i', 'y', 'O', '2093', 'K']
h, D, p, R, O, M, i, y, O, K, 7427, 3515, 7523, 4159, 3001, 2821, 5721, 9639, 2093

['X', 'D', '1265', '7583', '2021', 'B', '9501', 'v', 'S', '2883', '339', 'j', '8719', '9601', '4755', '9159', 'c', '8457', 'q', '2301', 'G', '5999', '7585', '3589', '5423', 'u', '2351', '5825', '2227', 'B', 'N', 'h', 'c', 'h', '4361', '4701', '2091', '9535']

X, D, B, v, S, j, c, q, G, u, B, N, h, c, h, 1265, 7583, 2021, 9501, 2883, 339, 8719, 9601, 4755, 9159, 8457, 2301, 5999, 7585, 3589, 5423, 2351, 5825, 2227, 4361, 4701, 2091, 9535