Sorting is fully implemented on mainactivity