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: ['9357', '1163', 'a', '8667', 'm', '7905', '8515', '9789', 'K', '6093', 'V', 'B', 'U', '5547', '6611', '8693', '6397', '2449', 'Z', '395', '3149', 'k', '2085', 'u', '3071', 'S', '7261', '5601', 'f', '4099', '6481', 'w', '8765', 'f', '3767', '7763', '545', '8097', 'Q', 'T']
A:
a, m, K, V, B, U, Z, k, u, S, f, w, f, Q, T, 9357, 1163, 8667, 7905, 8515, 9789, 6093, 5547, 6611, 8693, 6397, 2449, 395, 3149, 2085, 3071, 7261, 5601, 4099, 6481, 8765, 3767, 7763, 545, 8097