default 0 in the empty cases
swap the dashboard order