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: ['B', '4739', 'h', '9293', 'b', '9311', '5401', 'd', 'F', 'f', '7363', '3833', 'y', '8901', 'T', 'w', 'J', '9421', 'E', '6551', '5199', 'o', 'T', 'F', 'j', 'u', '7499', 't']

SOLUTION: B, h, b, d, F, f, y, T, w, J, E, o, T, F, j, u, t, 4739, 9293, 9311, 5401, 7363, 3833, 8901, 9421, 6551, 5199, 7499

PROBLEM: ['Y', 'k', '2219', 'e', 'X', '9837']

SOLUTION: Y, k, e, X, 2219, 9837

PROBLEM: ['R', 't', '9831', '4821', 'H', '4267']

SOLUTION:
R, t, H, 9831, 4821, 4267