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: ['n', '5465', '5621', '9305', 'p']

SOLUTION: n, p, 5465, 5621, 9305

PROBLEM: ['N', '975', '613', '1795', 'L', '6847', 'p', 'f', '9823', '6177', 'F', 'i']

SOLUTION: N, L, p, f, F, i, 975, 613, 1795, 6847, 9823, 6177

PROBLEM: ['m', 'e', '9537', '651', '6063', '2169', 't', '3993']

SOLUTION:
m, e, t, 9537, 651, 6063, 2169, 3993