record creation order and delete button

These changes make it so that when a new record is created, it is correctly sorted instead of prepended to the top of the list, and after it is saved the server, a delete button is added. Previously you had to reload the page for the sorting to be corrected and the delete button added.