Rearragned functions into alphebetical order