I think here `org.apache.hadoop.io.Text` should be the first one, because it belongs to the third-party library. The following one `org.jblas.DoubleMatrix` is also the third-party class, then I think it is better in a lexicographical order.