This example shows how to sort feeds by title or date and ascending or descending order.
$(document).ready(function () { setRSSFeed(); $('#sort').change(function() { setRSSFeed() }); $('#direction').change(function() { setRSSFeed() }); function setRSSFeed() { var a = $('#sort option:selected').val(); var b = $('#direction option:selected').val(); var c = (b == 'asc') ? true : false; $('#test').rssfeed('http://feeds.reuters.com/reuters/oddlyEnoughNews', { sort: a, sortasc: c }); } });