LLMs suffer from recency bias, where they pay more attention to the last few-shot example in the prompt.
To prevent this, examples should be sorted by complexity or similarity to the query, or rotated/randomized to prevent bias and ensure uniform prediction accuracy.