adds jQuery to sort for p tags