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.

['x', 'f', 'L', '3955', '2651', 'q', '7975', 'I', '5809', '5131', '5109', 'p', 'J', '6093', '9679', '3367', '7145']
x, f, L, q, I, p, J, 3955, 2651, 7975, 5809, 5131, 5109, 6093, 9679, 3367, 7145

['3425', '7105', 'p']
p, 3425, 7105

['1049', '4995', '6305', '7527', '8683', 'J', 'd', '8623', 'm', '4181', 'Q', 's', '2421', 'O']

J, d, m, Q, s, O, 1049, 4995, 6305, 7527, 8683, 8623, 4181, 2421