Definition: 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.
Input: ['9217', '8085', '293', 'c', '4025', 'Q', '5669', 'K', '1801', 'V', '4921', '6201', 'p', 'Y', 'V', '717', 'l', '2003', '5171', '2815', '609', 'b', '1889', '1539', '7859', '9161', 'J', 'U', '2069', 'q', 'E', '355', '9827', '9027', '8209', '2809', 'H', '9213', 'L', 'U']
Output:
c, Q, K, V, p, Y, V, l, b, J, U, q, E, H, L, U, 9217, 8085, 293, 4025, 5669, 1801, 4921, 6201, 717, 2003, 5171, 2815, 609, 1889, 1539, 7859, 9161, 2069, 355, 9827, 9027, 8209, 2809, 9213