Detailed Instructions: 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: ['2859', 'e', '2729', 'Q', 'M', 'j', 'S', '4587', '4857', 'S', '8375', 'F', '3769', 'D', '9089', '1249', '5941', '3509', '3749', '2449', '1141', '9665', 'M', 'q', '7279', '7919', '6683', '8297', '9221', '9607', 'K', 'h', '7539', '3265', '7287', '7423', '5239']
A:
e, Q, M, j, S, S, F, D, M, q, K, h, 2859, 2729, 4587, 4857, 8375, 3769, 9089, 1249, 5941, 3509, 3749, 2449, 1141, 9665, 7279, 7919, 6683, 8297, 9221, 9607, 7539, 3265, 7287, 7423, 5239