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: ['8987', 'M', 'u', 'd', '6277', '4233', 'y', 'D', 'd', '3387', 'n', '9509', '987', 'S', 'c', '6843', '587', '3545', 'Q', 'B', '779', '9547', 'c', 'r']

Output: M, u, d, y, D, d, n, S, c, Q, B, c, r, 8987, 6277, 4233, 3387, 9509, 987, 6843, 587, 3545, 779, 9547


Input: Consider Input: ['4879', 't', '1833', 'D', '8501', 's', '2583', '8241', 'Q', '1847', 'a', '8409', '8837', '2521', '1961', 'C', '689', 'Y', 'g', 'c', '519', 'F']

Output: t, D, s, Q, a, C, Y, g, c, F, 4879, 1833, 8501, 2583, 8241, 1847, 8409, 8837, 2521, 1961, 689, 519


Input: Consider Input: ['6281', '7825', 'v', 'o', 's', 'e', '327', '3929', '8235', '9275', 'O', 'b', '8941', 'T']


Output: v, o, s, e, O, b, T, 6281, 7825, 327, 3929, 8235, 9275, 8941