Added Category sorting to the index.