Right sort and applying simple format