Added "Sorted" and "most abundant" mode