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.
--------
Question: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

Answer: Z, a, x, m, f, p, 3217, 5145


Question: ['9265', 'U', 'q', '6007', '1955', '421', '3679', '7363']

Answer: U, q, 9265, 6007, 1955, 421, 3679, 7363


Question: ['C', 't', '5161', '4153', '1229', '1457', 'k', '2193', '8979']

Answer:
C, t, k, 5161, 4153, 1229, 1457, 2193, 8979