sorted index and home page