TASK DEFINITION: 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: ['D', '2335', 'x', 'H', '7825']

SOLUTION: D, x, H, 2335, 7825

PROBLEM: ['h', 'o', 'C', 'h', '3023', 'k', '9093', '1035', '6683', 'U', '1049', '1195', 'm', 'e', '559', '41', '9637', 'X', '2119', '6935', 'r', 'Q', 'R', '6851', 'a', 'c', 'l', 'h', 'B', '9629', 'N', 'W', '4551']

SOLUTION: h, o, C, h, k, U, m, e, X, r, Q, R, a, c, l, h, B, N, W, 3023, 9093, 1035, 6683, 1049, 1195, 559, 41, 9637, 2119, 6935, 6851, 9629, 4551

PROBLEM: ['a', '4405', '335', 'M', '3347', 'X', 'B', '841', '219', '7029', '4933', 'C', '6133', 'q', 'r', '4215', 'c', '2829', 'd', '9559', '4679', '8725', 'N', 'P']

SOLUTION:
a, M, X, B, C, q, r, c, d, N, P, 4405, 335, 3347, 841, 219, 7029, 4933, 6133, 4215, 2829, 9559, 4679, 8725