Added sort into reports