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: ['p', 'h', '8605', 'd', '5185', 'B', 'C', '1331', 'r', '2355', '1035', '3547', '7761', '8951', 'T', '1981', 'v', 'a', 'w', 'H', 'e', '5075', 'h', 'o', '3765', '7729', 'Q', '9289', 'i', 'k', 'E', 'k', 'i', 'd', '4879', '821']

Output: p, h, d, B, C, r, T, v, a, w, H, e, h, o, Q, i, k, E, k, i, d, 8605, 5185, 1331, 2355, 1035, 3547, 7761, 8951, 1981, 5075, 3765, 7729, 9289, 4879, 821


Input: Consider Input: ['r', 'g', '5847', '329', '6267']

Output: r, g, 5847, 329, 6267


Input: Consider Input: ['d', '9133', '4021', 't', 'r', '3653', 'N', '3547', 'D', 'y', 't', 'x', 'i', '2923', '5829', '6783', 'M', 'c', 'S', '6287', '2665', '2547', 'K', 't', '4873', '7299']


Output: d, t, r, N, D, y, t, x, i, M, c, S, K, t, 9133, 4021, 3653, 3547, 2923, 5829, 6783, 6287, 2665, 2547, 4873, 7299