Added flag to move checked items on bottom of unchecked (default false)