change invoice ordering in index