Add function for soring matrix