Retired footballer Joey Barton has been sentenced over X posts he sent to football pundits Eni Aluko and Lucy Ward, along with broadcaster Jeremy Vine.