Add sorting for Index pages