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.

['X', '4861', '4531']
X, 4861, 4531

['y', '9479', '6903', 'P', '9005', 'o', '6645', 'L', '2215', 'G', 'T', 'O', 'e', 'h', '4251', '9841', '1179', '7095', '9727', '9815', 'R', '8771', 'e']
y, P, o, L, G, T, O, e, h, R, e, 9479, 6903, 9005, 6645, 2215, 4251, 9841, 1179, 7095, 9727, 9815, 8771

['4247', '809', 'h', '5681', 'F', '8117', '9485', 'w', 'q', 'w', '4463', 'N', 'l', '4399', '5339', '1399', '1455', 'R', 'x', '775', '9163', '2745', '1765', '7113', '8517', '2117', '2331', '7669', 'W', '2649', 'i', 'B', 'K', '3371', 'd', 'c', 'i']

h, F, w, q, w, N, l, R, x, W, i, B, K, d, c, i, 4247, 809, 5681, 8117, 9485, 4463, 4399, 5339, 1399, 1455, 775, 9163, 2745, 1765, 7113, 8517, 2117, 2331, 7669, 2649, 3371