Added Edit and Sorting functions
Added Edit, and Sorting functions