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.

Ex Input:
['l', '4777', '3081', '6583', '1665', '6677', '2663', 'D', 'y', 'J', '801', 'j', '5055', '2445', 'k', 'M', '7851']

Ex Output:
l, D, y, J, j, k, M, 4777, 3081, 6583, 1665, 6677, 2663, 801, 5055, 2445, 7851


Ex Input:
['8995', '9445', 'Z', 'o', '613', 'D', 'W']

Ex Output:
Z, o, D, W, 8995, 9445, 613


Ex Input:
['625', 't', '7989', 'R', 'c', '5593', 'w', 'P', 'P', 'v', 'A', '6183', '9889', '4839', 'z', 'E', '39', '3405', 'I', 'x', 'f', 'K']

Ex Output:

t, R, c, w, P, P, v, A, z, E, I, x, f, K, 625, 7989, 5593, 6183, 9889, 4839, 39, 3405