Fixed sort for MainActivity in sample.