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

['1635', 'y', 'O', 'c', '5409', '9327', 'X', 'X', 'O', '5781', '675', 'Y', 'K', '4147', 'x', 'I', 'J', '8755', '6779', 'Y', 'u', 'F', 'i', 'p', 'T', '2503', '7883', '8253', 'A', 'T', 'g', '6165', '7995']
y, O, c, X, X, O, Y, K, x, I, J, Y, u, F, i, p, T, A, T, g, 1635, 5409, 9327, 5781, 675, 4147, 8755, 6779, 2503, 7883, 8253, 6165, 7995

['7879', 'h', '5401', 'e', 'B', '9419', 'f', '7509', '2617', 'r', 'q', 'L', '2453']

h, e, B, f, r, q, L, 7879, 5401, 9419, 7509, 2617, 2453