Added option to sort by id and displays id's