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: ['6845', 'r', 'q', '3009', '2917', '8107', 'h', 'I', '9281', 'U', '6351', '3133', '8571', 'I', '4923', 'm', '6407', '243', '5311', '6383', 'j', 's', '9193', 'h', '8583', '7663', 'i', '3725', 'c', '1809', '6537', '7575', 'X']

Answer: r, q, h, I, U, I, m, j, s, h, i, c, X, 6845, 3009, 2917, 8107, 9281, 6351, 3133, 8571, 4923, 6407, 243, 5311, 6383, 9193, 8583, 7663, 3725, 1809, 6537, 7575


Question: ['e', '3865', 'E', '3945', '6479', 'X', '565', 'C', '9113', 'i', '8355', '7467', 'X', '6577', 'P', 'Q', '4039', 'N', '7993', 'x', 'u', '7455', 'w', 'P', 'q', 'h', 'p', 's', '2323', 'N', '1171', 'h', '2049', 'n', 't', 'A', '7143']

Answer: e, E, X, C, i, X, P, Q, N, x, u, w, P, q, h, p, s, N, h, n, t, A, 3865, 3945, 6479, 565, 9113, 8355, 7467, 6577, 4039, 7993, 7455, 2323, 1171, 2049, 7143


Question: ['5805', 'h']

Answer:
h, 5805