Resource index - sort resources by id.