Sorting and adding a title field for the code snippets