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.

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

['6511', '4385', 't', '527', '1823', '8793', '703', '5237', 'A', 'a', 'Q', '2829', 'd', '3821', 'K', 'y', 'R', '8825', 'O', '3085', 'z', '663', '6721', '9793', 'e']
t, A, a, Q, d, K, y, R, O, z, e, 6511, 4385, 527, 1823, 8793, 703, 5237, 2829, 3821, 8825, 3085, 663, 6721, 9793

['2259', 'f', 'K', '6367', '6747', '3753', '4395', '3721', '5277', 'y', '683', '9667', 't', '1615', '1317', 'q', '3883', '3783', 'a', '9879', 'R', '8323', 'i', '2069', 'x']

f, K, y, t, q, a, R, i, x, 2259, 6367, 6747, 3753, 4395, 3721, 5277, 683, 9667, 1615, 1317, 3883, 3783, 9879, 8323, 2069