shuffle errors to the top