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.

['8903', '8775', '451', 'J', 'H', '4257', 'M', '549', 'A', 'H', '7433', 'D', 'v', 'g', '1261', 'W', '5047']
J, H, M, A, H, D, v, g, W, 8903, 8775, 451, 4257, 549, 7433, 1261, 5047

['Y', 'k', '2219', 'e', 'X', '9837']
Y, k, e, X, 2219, 9837

['777', '2633', 'g', 'H', '6587', 'D']

g, H, D, 777, 2633, 6587