Detailed Instructions: 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.
Problem:['6559', '1349', '2417', '4391', 'l', '9445', 'D', '2847', '829', '469', 'N', '9957', '3115', '1411', '7169', '2811', '7485', '3169', '4993', 'n', '5867', '9159', '3607', 'h', '9041', '6207', '8603', '4051', 'P', 'B', '667', 'c', '9147', 'U']
Solution:
l, D, N, n, h, P, B, c, U, 6559, 1349, 2417, 4391, 9445, 2847, 829, 469, 9957, 3115, 1411, 7169, 2811, 7485, 3169, 4993, 5867, 9159, 3607, 9041, 6207, 8603, 4051, 667, 9147