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.

[Q]: ['k', '507', 'I', '6705', '9645', 'H', '3897']
[A]: k, I, H, 507, 6705, 9645, 3897


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


[Q]: ['3265', '4253', 'W', '8349', 'P', '3529', '9227', 'J', '6303', 'd', '7531', '2529', 'K', '3559', '7571', 'C', 't', '835', '4285', '3145', 'a']
[A]:
W, P, J, d, K, C, t, a, 3265, 4253, 8349, 3529, 9227, 6303, 7531, 2529, 3559, 7571, 835, 4285, 3145