A quick way would be to use a table that has sortable columns.
You can use jquery and plugins such as tablesorter.
If I understand you correctly, you mean information from the database displayed as a table with columns and row that sort by the column header? This I already have in my intranet. But on website the information is not displayed as a table, so the script I use for tables in my intranet does not work for the pages on my web. Thanks,