Implemented alphabetical sort