fix law sort