using jquery ui for sorting the books in the discovery section