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: ['7561', 'D', 'c', '9907', 'J', '2709', 's']

SOLUTION: D, c, J, s, 7561, 9907, 2709

PROBLEM: ['z', '4877', 'j']

SOLUTION: z, j, 4877

PROBLEM: ['9249', '6987', '3885', '2887', '1541', 'z', 'm']

SOLUTION:
z, m, 9249, 6987, 3885, 2887, 1541