state association: sorting by position