Sort topics by votes in descending order
remove temporary file