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.
--------
Question: ['n', '7651', 'l', '1629', 'w', '1795', '1237', '1201', '861', '9627', '1403', '5641', '5905', 'h', '9585', '9561', '6387', '9037', '1643', '4759', '4749']

Answer: n, l, w, h, 7651, 1629, 1795, 1237, 1201, 861, 9627, 1403, 5641, 5905, 9585, 9561, 6387, 9037, 1643, 4759, 4749


Question: ['1461', '3871', '5867', '4781', '5999', 'r', '1671']

Answer: r, 1461, 3871, 5867, 4781, 5999, 1671


Question: ['R', '2029', 'p', '5317', '5365', '645', '9147', 'U', 'r', 'I', '2289', 'W', '3775', '5553', '6525', 'T', '2433', 'Q', 'k', 'y']

Answer:
R, p, U, r, I, W, T, Q, k, y, 2029, 5317, 5365, 645, 9147, 2289, 3775, 5553, 6525, 2433