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

['t', '259', '8677', '4441', '5377', 'U', 'g', '295', '1429', 'K', 'C', 'H', '6767', '3833', '1121', 'N', 'H', 'Y', '225', 'N', 'L', '5', '509', '103', 'v', 'g', 'p', 'x', '1247', '9621', '2599', '1851', 'F', 'i']
t, U, g, K, C, H, N, H, Y, N, L, v, g, p, x, F, i, 259, 8677, 4441, 5377, 295, 1429, 6767, 3833, 1121, 225, 5, 509, 103, 1247, 9621, 2599, 1851

['t', '259', '8677', '4441', '5377', 'U', 'g', '295', '1429', 'K', 'C', 'H', '6767', '3833', '1121', 'N', 'H', 'Y', '225', 'N', 'L', '5', '509', '103', 'v', 'g', 'p', 'x', '1247', '9621', '2599', '1851', 'F', 'i']

t, U, g, K, C, H, N, H, Y, N, L, v, g, p, x, F, i, 259, 8677, 4441, 5377, 295, 1429, 6767, 3833, 1121, 225, 5, 509, 103, 1247, 9621, 2599, 1851