A man who robbed a sex shop in North Wollongong with a baseball bat has been sentenced to serve nearly three years in jail.