Extracted the comparator from the loader to the main activity. Move the sort by string from the Strings.xml to MainActivity as enum