Indexing columns can be very useful when organizing several items in a list or library. To improve the performance of a list or library, you can index a column. You can also use the indexed column to filter views. Each additional column index consumes extra resources in the database. So make sure to plan ahead and only index the columns that are needed.
Creating an Index on a Column in Your Library
If, you are interested in learning more you can view this article https://support.office.com/en-nz/article/Manage-lists-and-libraries-with-many-items-fba0c8b7-79bb-4ea4-9aff-bf145a689e8e