get stores from DB and group