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: ['9965', 'X', '5861', '7349', '2503', '5299', 'G', '4777', '7533', 'F', 'H', '9485', 'e', 'A', '9875', 'w', 'U', '1963', 'o', 't', 'a', '533', 'N', '2199', 'g', 'W', 't', '2483', '8353', 'P', '1303', '4605', '4921', 'J', '9867', '1487', 'A', 'a', 'c']

Output: X, G, F, H, e, A, w, U, o, t, a, N, g, W, t, P, J, A, a, c, 9965, 5861, 7349, 2503, 5299, 4777, 7533, 9485, 9875, 1963, 533, 2199, 2483, 8353, 1303, 4605, 4921, 9867, 1487


Input: Consider Input: ['1721', '6287', 'W', '1039', 'g']

Output: W, g, 1721, 6287, 1039


Input: Consider Input: ['M', '3809', '4441', '6571']


Output: M, 3809, 4441, 6571