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: Consider Input: ['g', 'Z', 'D', 'W', 'j', 'a', 'q', 'L', '7219', 'O', '4489', '5149', 'A', '7605', '2361', 'v', '865', 'S', 'g', 'P', 'u', 'l', 'A', 'w']

Output: g, Z, D, W, j, a, q, L, O, A, v, S, g, P, u, l, A, w, 7219, 4489, 5149, 7605, 2361, 865


Input: Consider Input: ['4197', 'A', '29', '765', 'i', 'n', '5651']

Output: A, i, n, 4197, 29, 765, 5651


Input: Consider Input: ['U', '7775', '4999', 'h', 'u', 'V', 'Z']


Output: U, h, u, V, Z, 7775, 4999