change the sorting format