Added drop down menu in Library activity
Sorting functionality added