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: ['2797', '8449', '8105', '6175', 'x']

Output: x, 2797, 8449, 8105, 6175


Input: Consider Input: ['3935', '5465']

Output: 3935, 5465


Input: Consider Input: ['Z', '8851', 'e', 'r', '3655', 'm', '2007', '2421', '4567', 'e']


Output: Z, e, r, m, e, 8851, 3655, 2007, 2421, 4567