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.

['w', 'F', '6171', '3681', 'O', 'h', 'c', '1121', '8275', '3969', '5159', '351', '3691', 'Q', '4225', '7209', '2767', '6167', '951', 'C', 'K', 'G']
w, F, O, h, c, Q, C, K, G, 6171, 3681, 1121, 8275, 3969, 5159, 351, 3691, 4225, 7209, 2767, 6167, 951

['m', 'D', 'z', 'I', 'H', 'a', 'U', '8661', '8367', 'B', '1349', 'z']
m, D, z, I, H, a, U, B, z, 8661, 8367, 1349

['1415', '4075', 'k', 'K', '563', 'S', 'I']

k, K, S, I, 1415, 4075, 563