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.

['n', '5329', '7635', 'D', 'D', 'Y', '3097', 'Q', 'S', 'e', '4525', '5485', '6717', 'q', '7315', 'X', '8971', 'd', 'M', '407', '4931', 'o', '139']
n, D, D, Y, Q, S, e, q, X, d, M, o, 5329, 7635, 3097, 4525, 5485, 6717, 7315, 8971, 407, 4931, 139

['R', 'H', '2201', '3431', '3551', '5311', 'w', 'D', 'e', '3467', '939', '8281', 'V', '5869', '5325', '7819', '4427', '9895', '5887', '5331', 'n', 'Y', '6127', '4921', '203', '3063', '5881', '1361', '4109', 'x']
R, H, w, D, e, V, n, Y, x, 2201, 3431, 3551, 5311, 3467, 939, 8281, 5869, 5325, 7819, 4427, 9895, 5887, 5331, 6127, 4921, 203, 3063, 5881, 1361, 4109

['x', 'l', '6117', 'k', '7199', '5145', 'e', '4943', '3197', 'o', 'a', 'D', 'q', 'c', 'U', '1879', 'N', 'K', '7805', 'j', '5165', '8565']

x, l, k, e, o, a, D, q, c, U, N, K, j, 6117, 7199, 5145, 4943, 3197, 1879, 7805, 5165, 8565