sorting submissions in problem display ascending inorder to add an index in the table outputted inorder to save first time confusions to which one is the latest submission