Added support for Mod Sorting

wrong indention