Added sorting function, began work on random quote function