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.

[Q]: ['n', '5465', '5621', '9305', 'p']
[A]: n, p, 5465, 5621, 9305


[Q]: ['I', 'X', '5405', '9013', 'd', '4947', '3431', 'V']
[A]: I, X, d, V, 5405, 9013, 4947, 3431


[Q]: ['2489', 'Q']
[A]:
Q, 2489