Fixed a bug that tells the sort in Preprocess to use the same comparator method