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.

[EX Q]: ['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']
[EX A]: 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

[EX Q]: ['r', 'g', '5847', '329', '6267']
[EX A]: r, g, 5847, 329, 6267

[EX Q]: ['s', '8885', 'J', 'm', 'd', '3855']
[EX A]:
s, J, m, d, 8885, 3855