Cp-10

Added features of sorting and deleting (though not really deleting). 
These seem like interestingly unnecessary changes :P