Fixed role sorting issue on attendance home