Added rsort function, for lists and dicts, removed usage of reversed(sorted())