adding buttons to switch the orderBy and limitTo