Sorting Array Using Numpy For Numerical Data Vs Categorical Data