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: ['9297', '4887', '3421', '2815', '5975', '1767', '2201', 'z', 'Z', '6543', '6865', '709', '6907', 'B', 'Q', 'h', '9195', 'z', 'g', 'y', '4243', '839', 'R', 'I']

Output: z, Z, B, Q, h, z, g, y, R, I, 9297, 4887, 3421, 2815, 5975, 1767, 2201, 6543, 6865, 709, 6907, 9195, 4243, 839


Input: Consider Input: ['3217', '5145', 'Z', 'a', 'x', 'm', 'f', 'p']

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


Input: Consider Input: ['9057', '2225', 'D', 'B', 't', 'g', 'l', 'm', 'M', '5935', 'L', 'A', 'x', '7591', '5239', '299']


Output: D, B, t, g, l, m, M, L, A, x, 9057, 2225, 5935, 7591, 5239, 299