If I may make a suggestion, it would be very easy to convert this list to a DataTables list, which would offer the ability to sort and search without doing any backend coding on your end, the table HTML wouldn't need to be changed, only slightly.
Datatables can be found here:
http://www.datatables.net/