Update MstPk.java

revised sort method