Added function to sort blockentity listings into alphabetical order