Categories Model Sorting Fix