sort mineral categories in the table